expat.rst 834 B

12345678910111213141516171819202122
  1. The Expat XML Parse Instruction
  2. =============================
  3. Expat is an XML parser library written in C which be used for parse XML documents.
  4. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document.
  5. It can parse some larger files.
  6. - Expat XML Parser support many different processor, but for the most part function you only need the following functions:
  7. **XML_ParserCreate**: Create a new parser object
  8. **XML_SetElementHandler**: Set handlers for start and end tags
  9. **XML_SetCharacterDataHandler**: Set handler for text
  10. **XML_Parse**: Pass a buffer full of document to the parser
  11. More information about Expat library can be found on http://expat.sourceforge.net
  12. An introductory article on using Expat is available on http://xml.com