Laz2_XMLRead unit
Provides routines used to read XML content from a file, text file, or stream.
laz2_xmlread.pas provides routines used to read XML content from
a file, text file, or stream. It is copied from the FCL unit xmlread.pp (SVN
revision 15251), and adapted to use UTF-8 instead of widestrings by Mattias
Gaertner.
Copyright (c) 1999-2000 by Sebastian Guenther, sg@freepascal.org
Modified in 2006 by Sergei Gorelkin, sergei_gorelkin@mail.ru
Converted to use UTF-8 instead of widestrings by Mattias Gaertner.
laz2_xmlread.pas is part of the
lazutils package.
Classes and records
EXMLReadError | class | Exception raised when reading XML content. |
TDecoder | record | Decoder used to convert encoded values in XML content. |
TDOMParseOptions | class | Represents option settings for the TDOMParser class. |
TDOMParser | class | Implements a parser used to de-serialize XML content into DOM Nodes. |
TXMLInputSource | class | Represents the input source for XML content. |
Procedures and functions
ReadDTDFile | procedure | Reads and stores a DTD file into the specified XML document. |
ReadXMLFile | procedure | Reads the content of an XML file into the specified XML document. |
ReadXMLFragment | procedure | Reads an XML fragment into the specified DOM Node. |
RegisterDecoder | procedure | Registers the procedure used to decode values in a specific encoding. |
Types
TErrorSeverity | enumeration | Represents error severity codes for XML read operations. |
TGetDecoderProc | procedure type | Function type used to get a decoder routine for the specified target encoding. |
TXMLContextAction | enumeration | Values that control how XML content is stored in a DOM sub-tree. |
TXMLErrorEvent | procedure type | Event type signalled when an error occurs while processing XML content. |
TXMLReaderFlag | enumeration | Represents options enabled when reading XML content. |
TXMLReaderFlags | set | Set type used to store options enabled when reading XML content. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
