public static string Get2008NamespaceURI()
 {
     return(RdlUpgrader.Get2008NamespaceURI());
 }
            private void UpgradeFrom200701()
            {
                XmlElement          documentElement   = this.m_definition.DocumentElement;
                string              prefixOfNamespace = documentElement.GetPrefixOfNamespace("http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                string              text = this.BuildTempNamespacePrefix(prefixOfNamespace, documentElement);
                XmlNamespaceManager xmlNamespaceManager = new XmlNamespaceManager(this.m_definition.NameTable);

                xmlNamespaceManager.AddNamespace(text, "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                XmlNodeList elementsByTagName = documentElement.GetElementsByTagName("Textbox");

                foreach (XmlNode item in elementsByTagName)
                {
                    XmlNode    xmlNode2    = item.SelectSingleNode(text + ":Style", xmlNamespaceManager);
                    XmlNode    xmlNode3    = item.SelectSingleNode(text + ":Value", xmlNamespaceManager);
                    XmlElement xmlElement  = this.m_definition.CreateElement(prefixOfNamespace, "Paragraphs", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                    XmlElement xmlElement2 = this.m_definition.CreateElement(prefixOfNamespace, "Paragraph", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                    XmlElement xmlElement3 = this.m_definition.CreateElement(prefixOfNamespace, "TextRuns", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                    XmlElement xmlElement4 = this.m_definition.CreateElement(prefixOfNamespace, "TextRun", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                    xmlElement3.AppendChild(xmlElement4);
                    xmlElement2.AppendChild(xmlElement3);
                    xmlElement.AppendChild(xmlElement2);
                    item.AppendChild(xmlElement);
                    if (xmlNode3 != null)
                    {
                        xmlNode3 = item.RemoveChild(xmlNode3);
                        xmlElement4.AppendChild(xmlNode3);
                    }
                    else
                    {
                        xmlNode3 = this.m_definition.CreateElement(prefixOfNamespace, "Value", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                        xmlElement4.AppendChild(xmlNode3);
                    }
                    if (xmlNode2 != null)
                    {
                        string  value    = item.Attributes.GetNamedItem("Name").Value;
                        XmlNode xmlNode4 = this.m_definition.CreateElement(prefixOfNamespace, "Style", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                        this.MoveStyleItemIfExists("LineHeight", xmlNode2, xmlNode4, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("TextAlign", xmlNode2, xmlNode4, text, xmlNamespaceManager);
                        if (xmlNode4.HasChildNodes)
                        {
                            this.ConvertMeDotValueExpressions(xmlNode4.ChildNodes, value);
                        }
                        xmlElement2.AppendChild(xmlNode4);
                        XmlNode xmlNode5 = this.m_definition.CreateElement(prefixOfNamespace, "Style", "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition");
                        this.MoveStyleItemIfExists("FontStyle", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("FontFamily", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("FontSize", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("FontWeight", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("Format", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("TextDecoration", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("Color", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("Language", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("Calendar", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("NumeralLanguage", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        this.MoveStyleItemIfExists("NumeralVariant", xmlNode2, xmlNode5, text, xmlNamespaceManager);
                        if (xmlNode5.HasChildNodes)
                        {
                            this.ConvertMeDotValueExpressions(xmlNode5.ChildNodes, value);
                        }
                        xmlElement4.AppendChild(xmlNode5);
                    }
                }
                this.UpgradeCharts(documentElement, xmlNamespaceManager, "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition", prefixOfNamespace, text);
                this.UpdateNamespaceURI(documentElement, "http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition", RdlUpgrader.Get2008NamespaceURI());
            }