Sign in Join
FPDoc Onlineexperiment

TXMLReaderFlag enumeration

In unit Laz2_XMLRead

Represents options enabled when reading XML content.

Declaration

pascal
TXMLReaderFlag = (xrfAllowLowerThanInAttributeValue,
 xrfAllowSpecialCharsInAttributeValue,
 xrfAllowSpecialCharsInComments,xrfPreserveWhiteSpace)

Description

TXMLReaderFlag is an enumerated type with values for options enabled when reading XML content. TXMLReaderFlag values are stored in the TXMLReaderFlags set type, and passed as an argument to the ReadXMLFile, ReadXMLFragment, and ReadDTDFile routines.

See also

Values

xrfAllowLowerThanInAttributeValueIndicates the < character is allowed in attribute values.
xrfAllowSpecialCharsInAttributeValueIndicates control characters and reserved XML characters are allowed in XML attribute values. Please note that enabling (and using) this option can result in an XML document that is technically not valid. Null characters are never allowed in an XML document. Controls characters are allowed in XML 1.
xrfAllowSpecialCharsInCommentsIndicates if '--' is allowed in an XML comment.
xrfPreserveWhiteSpaceIndicates whitespace is preserved when reading XML content.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.