source: CMIP6dreqbuild/trunk/src/framework/vocabDemo.py @ 373

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/src/framework/vocabDemo.py@373
Revision 373, 247 bytes checked in by mjuckes, 5 years ago (diff)

update

Line 
1
2import dreq
3
4vc = dreq.loadDreq( dreqXML='vocab.xml',configdoc='out/vocabDefn.xml' )
5
6
7print vc.coll.keys()
8print vc.coll['institute'].attDefn.keys()
9for r in  vc.coll['institute'].items:
10   print '%20s: %s [%s]' % (r.label,r.description,r.isni)
Note: See TracBrowser for help on using the repository browser.