Changeset 431:630a4581992a in documentViewer
- Timestamp:
- Feb 15, 2011, 11:12:39 AM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r428 r431 210 210 docinfo['pageNumberOrig']= getTextFromNode(pagedivs[0]) 211 211 logging.debug("ORIGINAL PAGES: %s"%(docinfo['pageNumberOrig'])) 212 212 213 #original Pages Norm 214 pagedivs = dom.xpath("//div[@class='pageNumberOrigNorm']") 215 if pagedivs == dom.xpath("//div[@class='pageNumberOrigNorm']"): 216 if len(pagedivs)>0: 217 docinfo['pageNumberOrigNorm']= getTextFromNode(pagedivs[0]) 218 logging.debug("ORIGINAL PAGES: %s"%(docinfo['pageNumberOrigNorm'])) 219 220 213 221 #figureEntries 214 222 pagedivs = dom.xpath("//div[@class='countFigureEntries']") … … 289 297 docinfo['countTocEntries'] = 0 290 298 docinfo['numPages'] = 0 299 docinfo['pageNumberOrigNorm'] = 0 291 300 #return docinfo 292 301
Note: See TracChangeset
for help on using the changeset viewer.