diff options
| author | scoder <none@none> | 2008-02-22 08:49:41 +0100 |
|---|---|---|
| committer | scoder <none@none> | 2008-02-22 08:49:41 +0100 |
| commit | 09e5cd60b1c0a4939f5ddfda30ec3c7dc95e19ce (patch) | |
| tree | 4b297d9ecf29f00fe14d278910a025be658535ef /doc/objectify.txt | |
| parent | 0b4ce91e32af57e89f4d52fcef346bc93f9da868 (diff) | |
| download | python-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.txt | 4 |
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 |
