[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLRead' (#lazutils)

TXMLReaderFlag

Represents options enabled when reading XML content.

Declaration

Source position: laz2_xmlread.pas line 34

type TXMLReaderFlag = (

  xrfAllowLowerThanInAttributeValue,

  

Indicates the < character is allowed in attribute values.

  xrfAllowSpecialCharsInAttributeValue,

  

Indicates 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.1, but must be encoded - which this flag circuments.

  xrfAllowSpecialCharsInComments,

  

Indicates if '--' is allowed in an XML comment.

  xrfPreserveWhiteSpace

  

Indicates whitespace is preserved when reading XML content.

);

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

ReadXMLFile

  

Reads the content of an XML file into the specified XML document.

ReadXMLFragment

  

Reads an XML fragment into the specified DOM Node.

ReadDTDFile

  

Reads and stores a DTD file into the specified XML document.


Version 3.2 Generated 2024-02-25 Home