TXMLWriterFlag enumeration
Represent options enabled when writing XML content.
Declaration
TXMLWriterFlag = (xwfAllowNullCharsInAttributeValue,
xwfSpecialCharsInAttributeValue,xwfPreserveWhiteSpace)Description
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.See also
Values
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;) (ASC |
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 t |
xwfPreserveWhiteSpace | Preserves whitespace in DOM Text nodes. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
