Mercurial > hg > MetaDataProvider
comparison MetaDataFolder.py @ 25:64b703d1b8a4
Merge with d036de7fd78d45d9558dfccb88042cbec83d4b5e
author | casties |
---|---|
date | Fri, 27 Jul 2012 12:53:51 +0200 |
parents | 5ed16f971297 d036de7fd78d |
children | a19575be96e8 |
comparison
equal
deleted
inserted
replaced
23:5ed16f971297 | 25:64b703d1b8a4 |
---|---|
208 """returns contents of context tag as dict""" | 208 """returns contents of context tag as dict""" |
209 # information is two tags deep - recursive=1 | 209 # information is two tags deep - recursive=1 |
210 | 210 |
211 return self.getXmlPathData('resource/meta/context', path=path, dom=dom, all=all) | 211 return self.getXmlPathData('resource/meta/context', path=path, dom=dom, all=all) |
212 | 212 |
213 | |
214 def getDRI(self,path=None,type="escidoc",dom=None): | |
215 """returns the DRI of the document""" | |
216 return self.resource.meta.getDRI(path=path, dom=dom) | |
213 | 217 |
214 def getBibData(self, path=None, dom=None): | 218 def getBibData(self, path=None, dom=None): |
215 """returns contents of bib tag as dict""" | 219 """returns contents of bib tag as dict""" |
216 return self.resource.meta.bib.getData(path=path, dom=dom) | 220 return self.resource.meta.bib.getData(path=path, dom=dom) |
217 | 221 |