XMLParser Class
An XML parser.
Methods
_parse
()
protected
This method needs to be implemented by all children of class Parser. Parse the complete document and return the result.
Returns:
end
()
chainable
This method must be called by the parsing methods
when the parsing has finished.
parse
(
Object
-
[callback]
Starts the parsing process; in sync mode this
method blocks until the parsing has finished,
otherwise it should return immediately!
If given a callback, it must be bound to the
end
and error
events.
Parameters:
-
[callback]
Function optional
Returns:
Object:
The parse result.
parse_xml
()
verify
()
chainable
Verify that all syntactic and semantic requirements are met
by the parsed entity.