XdmWriterSettings.DoctypePublic PropertyXdmWriterSettings.DoctypePublic PropertyXdmWriterSettings::DoctypePublic Property
PUBLIC
document type.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Remarks
This property corresponds to the doctype-public
serialization parameter.
If the doctype-system
parameter is specified, then this specifies the public document type
to be serialized in the document type declaration. The doctype-public
parameter is ignored
unless the doctype-system
parameter is specified.
This property is ignored when MethodMethodMethod is set to TextOutputMethodTextOutputMethodTextOutputMethod or CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.
If MethodMethodMethod is set to XmlOutputMethodXmlOutputMethodXmlOutputMethod of XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod and
this property is not set to a valid public identifier then a SERE0003
XdmExceptionXdmExceptionXdmException is
thrown if serialization is attempted.
By default the DoctypePublicDoctypePublicDoctypePublic property is set to null
a null reference (Nothing
in Visual Basic)
nullptr
.