XdmWriterSettings.OmitXmlDeclaration PropertyXdmWriterSettings.OmitXmlDeclaration PropertyXdmWriterSettings::OmitXmlDeclaration Property
Gets or sets a value indicating whether the XML declaration should be omitted in the output.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Property Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the XML declaration should be omitted from the output; otherwise
false
False
false
.
Remarks
This property corresponds to the omit-xml-declaration
serialization parameter.
If MethodMethodMethod is not set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod then this property is ignored.
By default this property is set to false
False
false
.