diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-31 10:27:00 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-31 10:27:00 (GMT) |
commit | 1c8feae411a8afda43e903e5c202ea0e1dbcacbf (patch) | |
tree | c43d84416826d8c08bb56f6291ad0f4992a9ccde /Doc/lib | |
parent | f730fc3e4e4cfe6a5e81ea4c4ff59a7d7c9daab2 (diff) | |
download | cpython-1c8feae411a8afda43e903e5c202ea0e1dbcacbf.zip cpython-1c8feae411a8afda43e903e5c202ea0e1dbcacbf.tar.gz cpython-1c8feae411a8afda43e903e5c202ea0e1dbcacbf.tar.bz2 |
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')
-rw-r--r-- | Doc/lib/libxmllib.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex index 62fb26b..10d76ec 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 |