1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/result/HTML/autoclose3.html.sax
Daniel Veillard a3bfca59bf parsing real HTML is a nightmare.
- HTMLparser.c result/HTML/*: revamped the way the HTML
  parser handles end of tags or end of input
Daniel
2001-04-12 15:42:58 +00:00

20 lines
346 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElement(html)
SAX.startElement(body)
SAX.startElement(ul)
SAX.characters(
, 1)
SAX.startElement(li)
SAX.characters(item 1
, 7)
SAX.endElement(li)
SAX.startElement(li)
SAX.characters(item 2
, 7)
SAX.endElement(li)
SAX.endElement(ul)
SAX.endElement(body)
SAX.endElement(html)
SAX.endDocument()