Instructs an System.Xml.XmlWriter object to write an System.Xml.XmlNode object within the body of a named XML element.
- node
- The XML node to write, possibly a child XML element.
- name
- The local name of the parent XML element to write.
- ns
- The namespace of the parent XML element to write.
- isNullable
- true to write an xsi:nil='true' attribute if the object to serialize is null; otherwise, false.
- any
- true to indicate that the node, if an XML element, adheres to an XML Schema any element declaration; otherwise, false.
The protected members of System.Xml.Serialization.XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
The XmlSerializationWriter.WriteElementLiteral(System.Xml.XmlNode, string, string, bool, bool) method is called only when writing literal XML that can be defined in an XML Schema document.