// Creates a duplicate of this node. public override XmlNode CloneNode(bool deep) { Debug.Assert(OwnerDocument != null); return(OwnerDocument.CreateXmlDeclaration(Version, Encoding, Standalone)); }
// Clone this node. public override XmlNode CloneNode(bool deep) { return(OwnerDocument.CreateXmlDeclaration ("1.0", encoding, standalone)); }