#include <skExpatParser.h>
Public Methods | |
skExpatParser () | |
Construct a parser. | |
skElement * | parse (istream &in) |
This method parses the given input stream. More... | |
skElement * | parse (const skString &in) |
This method parses an XML document stored within the given string. More... |
It can be used to parse an XML document and return a Simkin Element class.
(Note: Expat is an Open Source XML parser library. You can obtain it from http://expat.sourceforge.net/)
|
This method parses an XML document stored within the given string. The method returns a new Element object representing this document. If there is an error in the structure of the document, an skXMLParseException is thrown.
|
|
This method parses the given input stream. If there is an error in the format, an skXMLParseException is thrown. Otherwise a new Element object is returned to represent the hierarchy in the XML document stored in the stream.
|