source: XMLF90/doc/Examples/sax/simple/README @ 6

Last change on this file since 6 was 6, checked in by ymipsl, 15 years ago

Import des sources XMLF90

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