[Overview][Types][Procedures and functions][Index] |
Set type used to store TXMLWriterFlag values.
Source position: laz2_xmlwrite.pas line 36
type TXMLWriterFlags = set of ( |
||
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. |
); |
TXMLWriterFlags is a set type used to store 0 or more values from the TXMLWriterFlag enumeration. TXMLWriterFlags indicates the options enabled when writing XML content. TXMLWriterFlags is the type passed as an argument to the WriteXMLFile procedure.
|
Represent options enabled when writing XML content. |
|
|
Writes an XML document to a file, text file, or stream. |
Version 3.2 | Generated 2024-02-25 | Home |