Class DXMLWriter

Inherits from:
Object
Conforms to:
DXMLHandler
Declared in:
DXML.h

Class Hierarchy

    Object
      |
      +---DXMLWriter

Class Description

The xml writer class implements methods for writing a xml file. This class does NOT check the correctness of the written xml. The method 'characters' translates the special characters (<,>,&,",'), the method 'unparsed' does not. With the last method an entity or character reference can be written. Linefeeds are never added by the writer. Linefeeds must be supplied by the calling software by using 'characters:' or 'unparsed:'. Use a character that can't be part of an URI e.g. '|' for the namespace separator.

Last modified:
23-Jul-2006 (DXML.h)

Instance Variables

private id <DTextWritable> _dest
the config file
private DList *_elements
the stack with the element names
private DList *_namespaces
the stack with the namespaces
private DList *_unprocessed
the list with the unprocessed namespaces
private BOOL _closeElement
should the last element still be closed ?
private BOOL _inCData
is the writer inside a CDATA section ?
private char _separator
the namespace separator (or EOS for none)

Method Index


generated 25-Jul-2006 by ObjcDoc 3.0.0