--- documentViewer/documentViewer.py 2010/10/08 14:02:24 1.113 +++ documentViewer/documentViewer.py 2010/10/11 12:45:15 1.115 @@ -551,7 +551,7 @@ class documentViewer(Folder): #docinfo['numPages']=int(getTextFromNode(result[0])) #result =dom.xpath("//name") - docinfo['name']=getTextFromNode(dom.xpath("//name")[0]) + docinfo['name']=getTextFromNode(dom.xpath("/resource/name")[0]) logging.debug("documentViewer docinfo[name] %s"%docinfo[name]) #logging.debug("documentViewer (getbibinfofromindexmeta) using mapping for %s"%bibtype) @@ -643,7 +643,7 @@ class documentViewer(Folder): presentationUrls = dom.xpath("//texttool/presentation") docinfo = self.getBibinfoFromIndexMeta(url, docinfo=docinfo, dom=dom) # get info von bib tag - #docinfo = self.getNameFromIndexMeta(url, docinfo=docinfo, dom=dom) + docinfo = self.getNameFromIndexMeta(url, docinfo=docinfo, dom=dom) if presentationUrls and (len(presentationUrls) > 0): # ueberschreibe diese durch presentation informationen # presentation url ergiebt sich ersetzen von index.meta in der url der fuer die Metadaten