Difference between revisions of "xmlread"

From Free Pascal wiki
Jump to navigationJump to search
(New page: Provides an XML reader, which can read XML data from a file or stream. The parser can read files encoded in UTF-8, UTF-16 (both endianness), and ISO-8859-1. It supports DTD validation. Reg...)
 
Line 13: Line 13:
  
 
Back to [[fcl-xml]] overview.
 
Back to [[fcl-xml]] overview.
 +
 +
[[Category:XML]]

Revision as of 08:33, 17 April 2013

Provides an XML reader, which can read XML data from a file or stream. The parser can read files encoded in UTF-8, UTF-16 (both endianness), and ISO-8859-1. It supports DTD validation. Regarding entity references: The pre-defined entities "lt", "gt", "amp", "apos" and "quot", and internal entities declared in DTD, are replaced by their defined values during reading. Ability to resolve external entities is currently limited to the file system. Regarding whitespace handling: By default, whitespace directly after the beginning of a tag is discarded, and sections of the XML file which contain only whitespace and no other text content are discarded as well. However, whitespace-preserving mode can be enabled by setting TDOMParser.Options.PreserveWhitespace property to True.

Back to fcl-xml overview.