<sect1> <title>XML_Parser:example</title> <para> Simple XML processing example. </para> <formalpara> <title>See also</title><para> <itemizedlist> <listitem><para>XML_Parser</para></listitem> </itemizedlist> </para></formalpara> <para> Any data needed during processing has to be passed around, here we just keep track of the nesting depth. </para> <para> Define a subset of XML_Parser_Class which which has callbacks for what we want to do. In a real application we might not need to define them all. </para> <para> Rewriting rules for pulic and system IDs can be used to locate local copies etc. </para> <para> An individual parser runs over a single source. </para> <para> Run the parser. </para> <para> Now we define the callbacks. </para> </sect1>