From: Fred L. D. <fd...@us...> - 2000-08-17 20:39:07
|
Update of /cvsroot/py-howto/pyhowto In directory slayer.i.sourceforge.net:/tmp/cvs-serv6312 Modified Files: xml-ref.tex Log Message: Minor markup nits. AttributeList: Note that the values() and items() methods are supported as well. Index: xml-ref.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/xml-ref.tex,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** xml-ref.tex 1999/12/09 12:58:18 1.6 --- xml-ref.tex 2000/08/17 20:39:04 1.7 *************** *** 136,140 **** non-validating XML parser. If \var{parser} is specified, it must be a parser name; otherwise, a list of available parsers is checked and the ! fastest one chosen. \end{funcdesc} --- 136,140 ---- non-validating XML parser. If \var{parser} is specified, it must be a parser name; otherwise, a list of available parsers is checked and the ! fastest available is chosen. \end{funcdesc} *************** *** 203,207 **** \begin{methoddesc}{reset}{} ! Makes the parser start parsing afresh. \end{methoddesc} --- 203,208 ---- \begin{methoddesc}{reset}{} ! Makes the parser start parsing afresh, discarding any buffered input ! data. \end{methoddesc} *************** *** 219,224 **** Returns a SAX driver for the first available parser of the parsers in the list. Note that the list contains drivers, so it first tries ! the driver and if that exists imports it to see if the parser also ! exists. If no parsers are available a \class{SAXException} is thrown. Optionally, \var{driver_name} can be a string containing the name of --- 220,226 ---- Returns a SAX driver for the first available parser of the parsers in the list. Note that the list contains drivers, so it first tries ! the driver and, if that exists, imports it to determine if the parser ! also exists. If no parsers are available a \exception{SAXException} is ! thrown. Optionally, \var{driver_name} can be a string containing the name of *************** *** 239,243 **** specified or defaulted attributes will be reported). Note that the information returned by this object will be valid only during the ! scope of the \method{DocumentHandler.startElement} callback, and the attributes will not necessarily be provided in the order declared or specified. --- 241,245 ---- specified or defaulted attributes will be reported). Note that the information returned by this object will be valid only during the ! scope of the \method{DocumentHandler.startElement()} callback, and the attributes will not necessarily be provided in the order declared or specified. *************** *** 278,283 **** all warnings and errors. There are three levels of errors available: warnings, (possibly) recoverable errors, and ! unrecoverable errors. All methods take a SAXParseException as the ! only parameter. \end{classdesc} --- 280,285 ---- all warnings and errors. There are three levels of errors available: warnings, (possibly) recoverable errors, and ! unrecoverable errors. All methods take a ! \exception{SAXParseException} as the only parameter. \end{classdesc} *************** *** 339,343 **** The \class{AttributeList} class supports some of the behaviour of Python dictionaries; the \method{len()}, \method{has_key()}, ! \method{keys()} methods are available, and \code{attr['href']} will retrieve the value of the \attribute{href} attribute. There are also additional methods specific to \class{AttributeList}: --- 341,346 ---- The \class{AttributeList} class supports some of the behaviour of Python dictionaries; the \method{len()}, \method{has_key()}, ! \method{items()}, \method{keys()} and \method{values()} methods are ! available, and \code{attr['href']} will retrieve the value of the \attribute{href} attribute. There are also additional methods specific to \class{AttributeList}: |