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 – NEMO

source: vendors/XMLF90/current/doc/Examples/sax/README @ 1967

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

importing XMLF90 vendor

File size: 866 bytes
Line 
1Some examples of the use of the SAX API in Fortran.
2
3Start by looking at the "simple" directory. That will give you a
4feeling for the workings of the parser. Feel free to experiment
5with "malforming" the "test.xml", and to turn on the "verbose"
6flag in the call to "xml_parse" in example.f90.
7
8"Count" contains a simple yet meaningful application of the parser: counting
9the number of elements of different types in an XML file.
10
11"Pseudo" is a scaled-down real-world physics application: reading a
12data file and populating internal structures. It showcases the use of
13"build_data_array" to turn homogeneous PCDATA sections into numerical arrays.
14
15"Features" shows small snippets of all the constructs recognized by the
16parser: treatment of quotes in attributes, standard entities, CDATA sections,
17declarations, comments, etc.
18
19Alberto Garcia
20wdpgaara at lg ehu es
Note: See TracBrowser for help on using the repository browser.