summaryrefslogtreecommitdiff
path: root/Doc/lib/libxmllib.tex
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2000-08-31 10:27:00 +0000
committerSjoerd Mullender <sjoerd@acm.org>2000-08-31 10:27:00 +0000
commit1c8feae411a8afda43e903e5c202ea0e1dbcacbf (patch)
treec43d84416826d8c08bb56f6291ad0f4992a9ccde /Doc/lib/libxmllib.tex
parentf730fc3e4e4cfe6a5e81ea4c4ff59a7d7c9daab2 (diff)
downloadcpython-git-1c8feae411a8afda43e903e5c202ea0e1dbcacbf.tar.gz
New method getnamespace.
Since the application never gets to see the namespace abbreviation used in the XML document, but some applications may need to know them, we provide this method.
Diffstat (limited to 'Doc/lib/libxmllib.tex')
-rw-r--r--Doc/lib/libxmllib.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex
index 62fb26b746..10d76ec36c 100644
--- a/Doc/lib/libxmllib.tex
+++ b/Doc/lib/libxmllib.tex
@@ -92,6 +92,11 @@ Translate all entity and character references in \var{data} and
return the translated string.
\end{methoddesc}
+\begin{methoddesc}{getnamespace}{}
+Return a mapping of namespace abbreviations to namespace URIs that are
+currently in effect.
+\end{methoddesc}
+
\begin{methoddesc}{handle_xml}{encoding, standalone}
This method is called when the \samp{<?xml ...?>} tag is processed.
The arguments are the values of the encoding and standalone attributes