OptionalcommentComment content, whitespace is not trimmed or normalized.
OptionaldoctypeDocument type declaration.
<!DOCTYPE example PUBLIC "-//Example//example" "./example.dtd">
This handler is called before parsing any markup declarations.
OptionalendEnd of a CDATA section.
]]>
An end tag.
</element>
Name of the element.
Namespace resolver relative to the current element, should not be used outside the handler.
OptionalprocessingA processing instruction.
<?target content?>
Processing instruction target, used to identify the application to which the instruction is directed.
Processing instruction content, whitespace is not trimmed or normalized.
OptionalstartStart of a CDATA section.
<![CDATA[
Start tag.
<element attr="value">
Name of the element.
Attributes of the tag.
Namespace resolver relative to the current element, should not be used outside the handler.
Text content.
<element>
content
</element>
This handler is equivalent to SaxHandler.text except it has
access to the namespace resolver of the current element.
Text content.
Namespace resolver relative to the current element, should not be used outside the handler.
OptionalxmlXML declaration of the document.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
A comment.