diff options
| author | scoder <none@none> | 2007-12-19 12:34:33 +0100 |
|---|---|---|
| committer | scoder <none@none> | 2007-12-19 12:34:33 +0100 |
| commit | d8a4e4d505ceeeb1192d9b2a5ea3d75f5b61a36f (patch) | |
| tree | 1c1ae0994d3f61dbf3c477d84b9afbda127bf461 /doc | |
| parent | 490c27cbd54566b8090bdc65c79369cd15367d99 (diff) | |
| download | python-lxml-lxml-2.0alpha6.tar.gz | |
[svn r3117] r3147@delle: sbehnel | 2007-12-19 12:34:29 +0100lxml-2.0alpha6
fix API usage
--HG--
branch : trunk
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mkhtml.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
