Visualise Parser

Step through the XML parser algorithm character by character. See what the parser sees at each point.

Normal Step 1 / 76
XML Source pos 0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE books SYSTEM "books.dtd">
<bookstore>
  <book category="fiction">
    <title lang="en">The Great Gatsby</title>
    <author>F. Scott Fitzgerald</author>
    <year>1925</year>
    <price>10.99</price>
  </book>
  <book category="non-fiction">
    <title lang="en">Sapiens</title>
    <author>Yuval Noah Harari</author>
  </book>
</bookstore>
Edit XML
Parser State 0 nodes
Idle

Ready to parse

Current Tag

None

Attributes

None

Element Stack (0)

Empty — at document root