Commit a94896ef authored by Fred Drake's avatar Fred Drake

Sjoerd Mullender <sjoerd@oratrix.nl>:

Updates for recent changes in xmllib.
parent efe117db
...@@ -20,14 +20,16 @@ The \class{XMLParser} class must be instantiated without ...@@ -20,14 +20,16 @@ The \class{XMLParser} class must be instantiated without
arguments.\footnote{Actually, a number of keyword arguments are arguments.\footnote{Actually, a number of keyword arguments are
recognized which influence the parser to accept certain non-standard recognized which influence the parser to accept certain non-standard
constructs. The following keyword arguments are currently constructs. The following keyword arguments are currently
recognized. The defaults for all of these is \code{0} (false). recognized. The defaults for all of these is \code{0} (false) except
for the last one for which the default is \code{1} (true).
\var{accept_unquoted_attributes} (accept certain attribute values \var{accept_unquoted_attributes} (accept certain attribute values
without requiring quotes), \var{accept_missing_endtag_name} (accept without requiring quotes), \var{accept_missing_endtag_name} (accept
end tags that look like \code{</>}), \var{map_case} (map upper case to end tags that look like \code{</>}), \var{map_case} (map upper case to
lower case in tags and attributes), \var{accept_utf8} (allow UTF-8 lower case in tags and attributes), \var{accept_utf8} (allow UTF-8
characters in input; this is required according to the XML standard, characters in input; this is required according to the XML standard,
but Python does not as yet deal properly with these characters, so but Python does not as yet deal properly with these characters, so
this is not the default).} this is not the default), \var{translate_attribute_references} (don't
attempt to translate character and entity references in attribute values).}
\end{classdesc} \end{classdesc}
This class provides the following interface methods and instance variables: This class provides the following interface methods and instance variables:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment