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.
inventory.f90 in vendors/XMLF90/current/doc/Tutorial/sax – NEMO

source: vendors/XMLF90/current/doc/Tutorial/sax/inventory.f90 @ 1960

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

importing XMLF90 r_53 vendor

File size: 454 bytes
Line 
1program inventory
2use flib_sax
3use m_handlers
4
5type(xml_t)        :: fxml      ! XML file object (opaque)
6integer            :: iostat   
7
8call open_xmlfile("inventory.xml",fxml,iostat)
9if (iostat /= 0) stop "cannot open xml file"
10
11call xml_parse(fxml, begin_element_handler=begin_element, &
12                     end_element_handler=end_element,     &
13                     pcdata_chunk_handler=pcdata_chunk )
14                     
15end program inventory
Note: See TracBrowser for help on using the repository browser.