XdmWriterSettings.DoctypeSystem PropertyXdmWriterSettings.DoctypeSystem PropertyXdmWriterSettings::DoctypeSystem Property
SYSTEM document type.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Remarks
This property corresponds to the doctype-system serialization parameter.
If the doctype-system parameter is specified, then a document type declaration is output immediately
before the first element. The doctype-system parameter specifies the SYSTEM document type.
This property is ignored when MethodMethodMethod is set to TextOutputMethodTextOutputMethodTextOutputMethod or CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.
By default the DoctypeSystemDoctypeSystemDoctypeSystem property is set to null
a null reference (Nothing in Visual Basic)
nullptr.
If this property is set to a non-null
a null reference (Nothing in Visual Basic)
nullptr value, OmitXmlDeclarationOmitXmlDeclarationOmitXmlDeclaration is set to
trueTruetrue, MethodMethodMethod is set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or
XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod and VersionVersionVersion is not set to null
a null reference (Nothing in Visual Basic)
nullptr or
"1.0" then a SEPM0009 XdmExceptionXdmExceptionXdmException is thrown if serialization is attempted.
