Class DXMLReader

Inherits from:
Object
Declared in:
DXML.h

Class Hierarchy

    Object
      |
      +---DXMLReader

Class Description

The DXMLReader class implements methods for parsing a xml file. The class uses expat for the low level parsing. The parsing of DTDs and External Entities are not supported. The method 'characters' returns the exact contents between the start elements and end element, including linefeed and indent spacing. The method 'unparsed' returns everything that could not be parsed, including DTDs and External Entities References. Use a character that can't be part of an URI e.g. '|' for the namespace separator.

Last modified:
31-Oct-2007 (DXML.h)

Instance Variables

private id <DXMLHandler> _handler
the reference to the xml handler
private int _bufferSize
the size of the buffer (def. 8192)
private XML_Parser _parser
the xml parser
private DText *_name
the name of the source
private DXMLChar _separator
the namespace separator (def. \0 = no namespace)
private DXMLChar *_encoding
the encoding to be used (def. NULL = from xml file)
private DText *_characters
the characters buffer
private DText *_unparsed
the unparsed buffer

Method Index


generated 05-Nov-2007 by ObjcDoc 3.0.0