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.
i.mixing.f90 in vendors/XMLF90/current/doc/Tutorial/xpath – NEMO

source: vendors/XMLF90/current/doc/Tutorial/xpath/i.mixing.f90 @ 1963

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

importing XMLF90 r_53 vendor

File size: 355 bytes
Line 
1program self
2use flib_xpath
3!
4type(xml_t) :: fxml
5
6integer  :: status
7character(len=100)  :: pcdata
8
9call open_xmlfile("inventory_text.xml",fxml,status)
10!
11do
12      call get_node(fxml,path="//item",pcdata=pcdata,status=status)
13      if (status < 0)   exit
14      !
15      print *, "PCDATA retrieved from item element: ", trim(pcdata)
16
17enddo
18end program self
Note: See TracBrowser for help on using the repository browser.