source: CMIP6dreqbuild/trunk/src/framework/dreqPy/examples/ex101.py @ 629

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/src/framework/dreqPy/examples/ex101.py@629
Revision 629, 176 bytes checked in by mjuckes, 4 years ago (diff)

cleaned scope.py

Line 
1import  sys, os, xml
2import xml.dom.minidom
3
4xmlf = sys.argv[1]
5doc = xml.dom.minidom.parse( xmlf )
6
7ver = doc.getElementsByTagName('pav:version')[0]
8print ver.firstChild.data
Note: See TracBrowser for help on using the repository browser.