]> mj.ucw.cz Git - libucw.git/blob - ucw-xml/doc/xml.txt
XML: Brief documentation of LibUCW-XML
[libucw.git] / ucw-xml / doc / xml.txt
1 XML Parser
2 ==========
3
4 ucw-xml/xml.h
5 -------------
6
7 To parse a document, create a parser context (<<struct_xml_context,struct xml_context>>),
8 initialize it with <<xml_init()>>, fill in requested parsing mode, pointers to hooks, and
9 other parameters. Then call <<xml_parse()>> or <<xml_next()>> as you need. At the end, dispose
10 of the context by <<xml_cleanup()>> or recycle it by <<xml_reset()>>.
11
12 !!ucw-xml/xml.h