From d8a4e4d505ceeeb1192d9b2a5ea3d75f5b61a36f Mon Sep 17 00:00:00 2001 From: scoder Date: Wed, 19 Dec 2007 12:34:33 +0100 Subject: [svn r3117] r3147@delle: sbehnel | 2007-12-19 12:34:29 +0100 fix API usage --HG-- branch : trunk --- doc/mkhtml.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/mkhtml.py') diff --git a/doc/mkhtml.py b/doc/mkhtml.py index 865e3968..1a0cf532 100644 --- a/doc/mkhtml.py +++ b/doc/mkhtml.py @@ -20,13 +20,13 @@ RST2HTML_OPTIONS = " ".join([ ]) find_title = XPath("/h:html/h:head/h:title/text()", - {"h" : "http://www.w3.org/1999/xhtml"}) + namespaces={"h" : "http://www.w3.org/1999/xhtml"}) find_headings = XPath("//h:h1[not(@class)]/h:a/text()", - {"h" : "http://www.w3.org/1999/xhtml"}) + namespaces={"h" : "http://www.w3.org/1999/xhtml"}) find_menu = XPath("//h:ul[@id=$name]", - {"h" : "http://www.w3.org/1999/xhtml"}) + namespaces={"h" : "http://www.w3.org/1999/xhtml"}) find_page_end = XPath("/h:html/h:body/h:div[last()]", - {"h" : "http://www.w3.org/1999/xhtml"}) + namespaces={"h" : "http://www.w3.org/1999/xhtml"}) replace_invalid = re.compile(r'[-_/.\s\\]').sub -- cgit v1.2.1