summaryrefslogtreecommitdiff
path: root/doc/objectify.txt
diff options
context:
space:
mode:
authorscoder <none@none>2008-02-22 08:49:41 +0100
committerscoder <none@none>2008-02-22 08:49:41 +0100
commit09e5cd60b1c0a4939f5ddfda30ec3c7dc95e19ce (patch)
tree4b297d9ecf29f00fe14d278910a025be658535ef /doc/objectify.txt
parent0b4ce91e32af57e89f4d52fcef346bc93f9da868 (diff)
downloadpython-lxml-09e5cd60b1c0a4939f5ddfda30ec3c7dc95e19ce.tar.gz
[svn r3333] r3584@delle: sbehnel | 2008-02-22 08:48:16 +0100
doctest fix after namespace prefix change --HG-- branch : trunk
Diffstat (limited to 'doc/objectify.txt')
-rw-r--r--doc/objectify.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/objectify.txt b/doc/objectify.txt
index bccd1bd2..ff39c2f6 100644
--- a/doc/objectify.txt
+++ b/doc/objectify.txt
@@ -979,7 +979,7 @@ namespace information if you choose to do so::
... nsmap={'foo': 'http://www.w3.org/2001/XMLSchema'})
>>> for prefix, namespace in el.nsmap.items():
... print prefix, '-', namespace
- ns0 - http://codespeak.net/lxml/objectify/pytype
+ py - http://codespeak.net/lxml/objectify/pytype
foo - http://www.w3.org/2001/XMLSchema
xsi - http://www.w3.org/2001/XMLSchema-instance
@@ -994,7 +994,7 @@ namespace. We can override it as in the following example::
... 'myxsi': 'http://www.w3.org/2001/XMLSchema-instance'})
>>> for prefix, namespace in el.nsmap.items():
... print prefix, '-', namespace
- ns0 - http://codespeak.net/lxml/objectify/pytype
+ py - http://codespeak.net/lxml/objectify/pytype
foo - http://www.w3.org/2001/XMLSchema
myxsi - http://www.w3.org/2001/XMLSchema-instance