ParseXmlDeclarationValue() static private method

static private ParseXmlDeclarationValue ( string strValue, string &version, string &encoding, string &standalone ) : void
strValue string
version string
encoding string
standalone string
return void
Exemplo n.º 1
0
        internal override void WriteXmlDeclaration(string xmldecl)
        {
            VerifyState(Method.WriteXmlDeclaration);
            string?version, encoding, standalone;

            XmlLoader.ParseXmlDeclarationValue(xmldecl, out version, out encoding, out standalone);
            XmlNode node = _document.CreateXmlDeclaration(version !, encoding, standalone);

            AddChild(node, _write);
        }
        internal override void WriteXmlDeclaration(string xmldecl)
        {
            string str;
            string str2;
            string str3;

            this.VerifyState(Method.WriteXmlDeclaration);
            XmlLoader.ParseXmlDeclarationValue(xmldecl, out str, out str2, out str3);
            XmlNode node = this.document.CreateXmlDeclaration(str, str2, str3);

            this.AddChild(node, this.write);
        }