source:
vendors/XMLF90/current/doc/Examples/sax/pseudo/README
@
1963
Last change on this file since 1963 was 1963, checked in by flavoni, 14 years ago | |
---|---|
File size: 1.0 KB |
Line | |
---|---|
1 | This directory contains a real-world example of processing an XML file. |
2 | |
3 | Pseudo.xml is a prototype XML pseudopotential file, containing, apart |
4 | from identification information, several datasets representing functions |
5 | of a radial coordinate. These functions are given as tables with an underlying |
6 | grid. The grid can be common to all, or each radial function ("radfunc") can |
7 | have its own. |
8 | |
9 | The program reads the XML file and then constructs a data structure |
10 | with all the information in the file, ready to be processed by other |
11 | utilities, such as an electronic-structure program. |
12 | |
13 | Pseudo.xml is just a prototype, and this program is just an illustration |
14 | of the kinds of idioms one can use to process a non-trivial XML file |
15 | using a SAX-like parser. |
16 | |
17 | The basic data structures are defined in module m_pseudo_types, and the |
18 | handlers are in m_pseudo.f90. |
19 | |
20 | Type 'make' to compile, and 'pseudo' to execute. |
21 | (In the interest of simplicity, this program is hardwired to process |
22 | the 'pseudo.xml' file. For command-line control, one could use the |
23 | routines in the f2kcli module.) |
24 |
Note: See TracBrowser
for help on using the repository browser.