source:
vendors/XMLF90/current/doc/Tutorial/sax/inventory.f90
@
1967
Last change on this file since 1967 was 1967, checked in by flavoni, 14 years ago | |
---|---|
File size: 454 bytes |
Line | |
---|---|
1 | program inventory |
2 | use flib_sax |
3 | use m_handlers |
4 | |
5 | type(xml_t) :: fxml ! XML file object (opaque) |
6 | integer :: iostat |
7 | |
8 | call open_xmlfile("inventory.xml",fxml,iostat) |
9 | if (iostat /= 0) stop "cannot open xml file" |
10 | |
11 | call xml_parse(fxml, begin_element_handler=begin_element, & |
12 | end_element_handler=end_element, & |
13 | pcdata_chunk_handler=pcdata_chunk ) |
14 | |
15 | end program inventory |
Note: See TracBrowser
for help on using the repository browser.