blob: e2df8b20be47f2e09cdacd2c075b5741d192d245 [file] [log] [blame]
<examples>
<example filename='parse1.c'>
<synopsis>Parse an XML file to a tree and free it</synopsis>
<purpose>Demonstrate the use of xmlReadFile() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree</purpose>
<usage>example1 test1.xml</usage>
<author>Daniel veillard</author>
<copy>see Copyright for the status of this software. </copy>
<section>Parsing</section>
<includes>
<include>&lt;libxml/tree.h&gt;</include>
<include>&lt;libxml/parser.h&gt;</include>
</includes>
<uses>
<function line='49' file='parser' name='xmlCleanupParser'/>
<macro line='44' file='xmlversion' name='LIBXML_TEST_VERSION'/>
<function line='30' file='tree' name='xmlFreeDoc'/>
<function line='25' file='parser' name='xmlReadFile'/>
<typedef line='23' file='tree' name='xmlDocPtr'/>
</uses>
</example>
<symbols>
<symbol name='LIBXML_TEST_VERSION'>
<ref filename='parse1.c'/>
</symbol>
<symbol name='xmlCleanupParser'>
<ref filename='parse1.c'/>
</symbol>
<symbol name='xmlDocPtr'>
<ref filename='parse1.c'/>
</symbol>
<symbol name='xmlFreeDoc'>
<ref filename='parse1.c'/>
</symbol>
<symbol name='xmlReadFile'>
<ref filename='parse1.c'/>
</symbol>
</symbols>
<sections>
<section name='Parsing'>
<example filename='parse1.c'/>
</section>
</sections>
</examples>