Assembly: DeltaXML.CoreS9Api (in DeltaXML.CoreS9Api.dll) Version: 10.4.0.1000 (10.4.0.1000)
Property Value
Type: BooleanAdds information about which attributes arose through the use of default attribute values in the DTD, as opposed to having explicit values.
A DTD can contain attribute definitions such as the following:
<!ELEMENT myElement>
<!ATTLIST myElement myAttribute CDATA "defaultValue">
When a value is defined in quotes like this, and the XML document is associated with this DTD using the DOCTYPE declaration, the attribute myAttribute will be present on every myElement element whether it has been explicitly added or not. If it is added by the parser, it will have the default value of defaultValue as defined in the DTD.
When true has been passed to this method, attributes that have default values assigned by the parser in this way will be marked by adding an attribute to the element like this:
<myElement myAttribute="defaultValue" <strong>preserve:defaultAttributes="{}myAttribute"</strong>>