XMLNS: XML declaration example

The XMLNS parser creates a tree that represents an XML declaration.

The following example shows an XML declaration in an XML document:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
The following figure shows the tree structure that the XMLNS parser creates for this declaration:
A hierarchical structure showing XmlDecl with three children - Version, Encoding, and Standalone