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