Functions



CXMLParser

   public:

CXMLParser();

object constructor


CharacterDataHandler

   public:

virtual void CharacterDataHandler(const XML_Char *s, int len);

called by the XML parser when it encounters character data

Parameters

NameDescription
spointer to the character data
lenlength of the character data

CommentHandler

   public:

virtual void CommentHandler(const XML_Char *data);

called when the XML parser encounters an XML comment

Parameters

NameDescription
datathe content of the comment

EndCDataSectionHandler

   public:

virtual void EndCDataSectionHandler();


EndElementHandler

   public:

virtual void EndElementHandler(const XML_Char *name);

called by the XML parser when it encounters the end of an element

Parameters

NameDescription
namethe generic identifier of the element

ParseXMLDocument

   public:

XML_Error ParseXMLDocument(LStream &stream);

parses an XML document

Parameters

NameDescription
streamthe data to be parsed
Result: returns an XML parser error; see xmlparse.h for more information

ProcessingInstructionHandler

   public:

virtual void ProcessingInstructionHandler(const XML_Char *target, const XML_Char *data);

called when the XML parser encounters a processing instruction

Parameters

NameDescription
targetpointer to the character data
lenlength of the character data

StartCDataSectionHandler

   public:

virtual void StartCDataSectionHandler();

called when the XML parser encounters the start of a CDATA chunk


StartElementHandler

   public:

virtual void StartElementHandler(const XML_Char *name, const XML_Char **atts);

called by the XML parser when it encounters the start of an element

Parameters

NameDescription
namethe generic identifier of the element
attsthe attributes of the element that is starting

~CXMLParser

   public:

virtual ~CXMLParser();

object destructor


© 1999-2000, Thomas Bednarz, Jr. — (Last Updated 7/16/2000)