XdmWriterSettings.Version PropertyXdmWriterSettings.Version PropertyXdmWriterSettings::Version Property
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Remarks
This property corresponds to the version
serialization parameter.
This parameter specifies either the version of XML (if MethodMethodMethod is set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod), the HTML version (if MethodMethodMethod is set to HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod) or the version of the canonical XML specification (if MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod. This property is ignored if MethodMethodMethod is not set to any of the above values.
If the version is not supported (XML version is not 1.0
, HTML version is not 4.0
or
4.01
or the Canonical XML version is not 1.0
then an SESU0013
error is raised if
serialization is attempted.
If this property is set to null
a null reference (Nothing
in Visual Basic)
nullptr
then the version is assumed to be 4.01
if
MethodMethodMethod is set to HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod, and 1.0
otherwise. By default
this property is set to null
a null reference (Nothing
in Visual Basic)
nullptr
.