Поделиться через


XmlWriterProperty_OmitXmlDeclaration

 

Specifies whether the writer should omit the XML declaration at the beginning of the document. The type of this property is Boolean.

Default Value

FALSE

Remarks

This property can be set and retrieved by using the IXmlReader::SetProperty and IXmlReader::GetProperty methods.

When this property is FALSE, the writer includes the XML declaration. When this property is TRUE, the writer does not include the XML declaration.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Properties
XmlWriterProperty_ByteOrderMark