[Overview][Types][Procedures and functions][Index] |
Represent options enabled when writing XML content.
Source position: laz2_xmlwrite.pas line 31
type TXMLWriterFlag = ( |
||
xwfAllowNullCharsInAttributeValue, |
|
Enables writing encoded #0. Without this flag an error will be raised. Please note that enabling this option, and writing a null character, will produce an XML document that cannot be handled by a validating XML processor. As per the XML specifications, the null character (#0) (#$00) (&x0;) (ASCII NULL) is never valid in the content of an XML document. ReadXMLFile in the lazutils package will handle the value. |
xwfSpecialCharsInAttributeValue, |
|
Enables writing unencoded #1..#32 (including Carriage Return) characters in attribute values. Without this flag they will be encoded to their numeric character entity &xD; instead. Please note that enabling this option, and writing an attribute value in this range, will produce an XML document that cannot be handled by a validating XML 1.0 processor. The values are also discouraged for XML 1.1 processors. ReadXMLFile in the lazutils package will handle the value. |
xwfPreserveWhiteSpace |
|
Preserves whitespace in DOM Text nodes. |
); |
TXMLWriterFlag is an enumerated type with values that represent options enabled when writing XML content. Values in TXMLWriterFlag are stored in the TXMLWriterFlags set type, and passed as an argument to the WriteXMLFile and WriteXML routines.
|
Set type used to store TXMLWriterFlag values. |
Version 3.2 | Generated 2024-02-25 | Home |