source:
vendors/XMLF90/current/doc/Examples/sax/simple/README
@
1963
Last change on this file since 1963 was 1963, checked in by flavoni, 14 years ago | |
---|---|
File size: 651 bytes |
Line | |
---|---|
1 | This directory contains a very simple example of the use |
2 | of the XML parser. |
3 | |
4 | The program, in file "example.f90", uses the module "m_handlers", which |
5 | contains the handlers for the basic events: begin_element, end_element, and |
6 | pcdata_chunk. |
7 | |
8 | The program opens the XML file, obtaining a file object, and calls |
9 | xml_parse with the above handlers. |
10 | |
11 | In this particular case, the handlers' action is just to print out |
12 | element/attribute information, and to dump any PCDATA sections. |
13 | |
14 | Turning on the 'verbose' flag in the call to xml_parse will result in a |
15 | more detailed look at the workings of the parser. |
16 | |
17 | Type 'make' to compile, and 'example' to execute. |
Note: See TracBrowser
for help on using the repository browser.