summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1ed4abf)
If there are several xincludes in a document and several
translations it is hard to find the xinclude call that failed.
Priting the xpointer helps localize the problem.
os.chdir(cwd)
xmlblock = str(xml.stdout.read())
te = time()
os.chdir(cwd)
xmlblock = str(xml.stdout.read())
te = time()
- print " [%5.2f s]" % (round(te-ts,2))
+ print " [%5.2f s] (%s)" % (round(te-ts,2),c.xpointer)
xstr = bindery.parse(xmlblock)
idp = c.xml_index_on_parent
for x in xstr.xml_children:
xstr = bindery.parse(xmlblock)
idp = c.xml_index_on_parent
for x in xstr.xml_children: