![]() ![]() | ![]() |
libxml2
1: SAX.setDocumentLocator() 2: SAX.startDocument() 3: SAX.startElement(html) 4: SAX.startElement(body) 5: SAX.startElement(ul) 6: SAX.characters( 7: , 1) 8: SAX.startElement(li) 9: SAX.characters(item 1 10: , 7) 11: SAX.endElement(li) 12: SAX.startElement(li) 13: SAX.characters(item 2 14: , 7) 15: SAX.endElement(li) 16: SAX.endElement(ul) 17: SAX.endElement(body) 18: SAX.endElement(html) 19: SAX.endDocument()