New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README in vendors/XMLF90/current/doc/Examples/sax/simple – NEMO

source: vendors/XMLF90/current/doc/Examples/sax/simple/README @ 1960

Last change on this file since 1960 was 1960, checked in by flavoni, 14 years ago

importing XMLF90 r_53 vendor

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.