components/expat: add expat library description
add XML instruction, see expat file.
This commit is contained in:
parent
7b7183bf8c
commit
60d0cb29d3
1 changed files with 22 additions and 0 deletions
22
components/expat/expat.rst
Normal file
22
components/expat/expat.rst
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
The Expat XML Parse Instruction
|
||||||
|
=============================
|
||||||
|
|
||||||
|
Expat is an XML parser library written in C which be used for parse XML documents.
|
||||||
|
|
||||||
|
It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document.
|
||||||
|
|
||||||
|
It can parse some larger files.
|
||||||
|
|
||||||
|
- Expat XML Parser Support many different processor, But for the most part function you only need four function as follows:
|
||||||
|
|
||||||
|
*XML_ParserCreate:* Create a new parser object
|
||||||
|
|
||||||
|
*XML_SetElementHandler:* Set handlers for start and end tags
|
||||||
|
|
||||||
|
*XML_SetCharacterDataHandler:* Set handler for text
|
||||||
|
|
||||||
|
*XML_Parse:* Pass a buffer full of document to the parser
|
||||||
|
|
||||||
|
More information about Expat library will show them on http://expat.sourceforge.net
|
||||||
|
|
||||||
|
An introductory article on using Expat is available on http://xml.com
|
Loading…
Reference in a new issue