changeset 229:833de3f54e47

*** empty log message ***
author abukhman
date Mon, 11 Oct 2010 14:45:15 +0200
parents 9306c8d0dc4a
children 87c6aac31003
files documentViewer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Fri Oct 08 16:04:30 2010 +0200
+++ b/documentViewer.py	Mon Oct 11 14:45:15 2010 +0200
@@ -551,7 +551,7 @@
         #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)