XdmWriterSettings.DoctypeSystem PropertyXdmWriterSettings.DoctypeSystem PropertyXdmWriterSettings::DoctypeSystem Property
SYSTEM document type.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Exceptions
| Exception | Condition |
| XdmExceptionXdmExceptionXdmException |
An SEPM0016 error is raised if an attempt is made to set doctype-system to a string that
contains both quote (") and apostrophe (') characters.
|
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 cannot contain both a quote character (") and an apostrophe character (').
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.
