source: XMLF90-doc/Examples/sax/README @ 1160

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

Import des sources XMLF90

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.