setStatus
void setStatus(StyxSaxStatus newStatus);
Change the current parser status.
Parameters
newStatus | The new value of parser status. |
openTagHandler
virtual void openTagHandler(string name, vector attrs);
Method called when an XML open tag is founded.
Parameters
name | Name of the tag. |
attrs | All attributes of the tag. |
insideTextHandler
virtual void insideTextHandler(char c);
Method called when a text character is founded between an opening and a closing tag.
Parameters
closeTagHandler
virtual void closeTagHandler(string name);
Method called when an XML close tag is founded.
Parameters
commentHandler
virtual void commentHandler(string content);
Method called when an XML comment is founded in the WML file.
Parameters
content | The character string of the comment. |
processingInstructionHandler
virtual void processingInstructionHandler(string target, string content);
Method called when an XML processing instruction is founded.
Parameters
target | Name of the processing instruction's target. |
content | Character string of the instruction. |
cdataHandler
virtual void cdataHandler(string content);
Method called when a CDATA tag is founded.
Parameters
content | Character string of the tag. |
errorHandler
virtual void errorHandler(int line);
Method called when a parsing error appears.
Parameters
line | Line number in th XML file where error happens. |
|