comparison MetaDataFolder.py @ 24:d036de7fd78d

getDRI added
author dwinter
date Fri, 27 Jul 2012 12:46:00 +0200
parents 9a1e75e708e1
children 64b703d1b8a4
comparison
equal deleted inserted replaced
20:9a1e75e708e1 24:d036de7fd78d
203 """returns contents of context tag as dict""" 203 """returns contents of context tag as dict"""
204 # information is two tags deep - recursive=1 204 # information is two tags deep - recursive=1
205 205
206 return self.getXmlPathData('resource/meta/context', path=path, dom=dom, all=all) 206 return self.getXmlPathData('resource/meta/context', path=path, dom=dom, all=all)
207 207
208
209 def getDRI(self,path=None,type="escidoc",dom=None):
210 """returns the DRI of the document"""
211 return self.resource.meta.getDRI(path=path, dom=dom)
208 212
209 def getBibData(self, path=None, dom=None): 213 def getBibData(self, path=None, dom=None):
210 """returns contents of bib tag as dict""" 214 """returns contents of bib tag as dict"""
211 return self.resource.meta.bib.getData(path=path, dom=dom) 215 return self.resource.meta.bib.getData(path=path, dom=dom)
212 216