[Python-checkins] CVS: python/dist/src/Doc/lib libpyexpat.tex,1.9,1.10
Fred L. Drake
python-dev@python.org
Sat, 23 Dec 2000 14:19:07 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19645
Modified Files:
libpyexpat.tex
Log Message:
Added information on the ExternalEntityParserCreate() method.
Index: libpyexpat.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpyexpat.tex,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** libpyexpat.tex 2000/12/07 00:00:21 1.9
--- libpyexpat.tex 2000/12/23 22:19:05 1.10
***************
*** 81,87 ****
elem2
\end{verbatim}
-
\end{funcdesc}
\class{xmlparser} objects have the following methods:
--- 81,89 ----
elem2
\end{verbatim}
\end{funcdesc}
+
+ \subsection{XMLParser Objects \label{xmlparser-objects}}
+
\class{xmlparser} objects have the following methods:
***************
*** 89,93 ****
Parses the contents of the string \var{data}, calling the appropriate
handler functions to process the parsed data. \var{isfinal} must be
! true on the final call to this method. \var{data} can be the empty
string at any time.
\end{methoddesc}
--- 91,95 ----
Parses the contents of the string \var{data}, calling the appropriate
handler functions to process the parsed data. \var{isfinal} must be
! true on the final call to this method. \var{data} can be the empty
string at any time.
\end{methoddesc}
***************
*** 111,114 ****
--- 113,124 ----
\method{SetBase()}, or \code{None} if
\method{SetBase()} hasn't been called.
+ \end{methoddesc}
+
+ \begin{methoddesc}[xmlparser]{ExternalEntityParserCreate}{context\optional{,
+ encoding}}
+ Create a ``child'' parser which can be used to parse an external
+ parsed entity referred to by content parsed by the parent parser. The
+ \var{content} parameter should be the string passed to the
+ \method{ExternalEntityRefHandler()} handler function, described below.
\end{methoddesc}