XmlConformanceLevel Enumeration (Compact 2013)
3/26/2014
This structure lists the valid values for the conformance level of the input XML document.
Syntax
enum XmlConformanceLevel {
XmlConformanceLevel_Auto = 0,
XmlConformanceLevel_Document = 1,
XmlConformanceLevel_Fragment = 2} ;
Values
- XmlConformanceLevel_Auto
The reader automatically detects whether to perform document or fragment checking.
- XmlConformanceLevel_Document
The input should be a well-formed XML document as defined in the XML specification For more information, see the Extensible Markup Language (XML) 1.0 Specification.
XmlConformanceLevel_Fragment
The input should be treated as a XML fragment. In this case, the input should comply with the Well-Formed Parsed Entities section of the XML specification. For more information, see Section 4.3.2 of the Extensible Markup Language (XML) 1.0 Specification.This value is not supported for IXmlReader in this release. IXmlWriter does support this setting.