OptionalcommentA comment.
<!-- content -->
Comment 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.
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.
Text content.
<element>
content
</element>
By default, the parser collects text content as if it were forming a DOM
Text Node. SaxOptions.incrementalText may be used to emit
text events as soon as more data is available.
Text content.
OptionalxmlXML declaration of the document.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
https://www.w3.org/TR/REC-xml/