Changeset 391 for python/trunk/Doc/library/xml.sax.utils.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/xml.sax.utils.rst
r2 r391 60 60 .. class:: XMLGenerator([out[, encoding]]) 61 61 62 This class implements the :class:`ContentHandler` interface by writing SAX 62 This class implements the :class:`~xml.sax.handler.ContentHandler` interface 63 by writing SAX 63 64 events back into an XML document. In other words, using an :class:`XMLGenerator` 64 65 as the content handler will reproduce the original document being parsed. *out* … … 69 70 .. class:: XMLFilterBase(base) 70 71 71 This class is designed to sit between an :class:`XMLReader` and the client 72 This class is designed to sit between an 73 :class:`~xml.sax.xmlreader.XMLReader` and the client 72 74 application's event handlers. By default, it does nothing but pass requests up 73 75 to the reader and events on to the handlers unmodified, but subclasses can … … 78 80 .. function:: prepare_input_source(source[, base]) 79 81 80 This function takes an input source and an optional base URL and returns a fully 81 resolved :class:`InputSource` object ready for reading. The input source can be 82 given as a string, a file-like object, or an :class:`InputSource` object; 83 parsers will use this function to implement the polymorphic *source* argument to 84 their :meth:`parse` method. 82 This function takes an input source and an optional base URL and returns a 83 fully resolved :class:`~xml.sax.xmlreader.InputSource` object ready for 84 reading. The input source can be given as a string, a file-like object, or 85 an :class:`~xml.sax.xmlreader.InputSource` object; parsers will use this 86 function to implement the polymorphic *source* argument to their 87 :meth:`parse` method. 85 88
Note:
See TracChangeset
for help on using the changeset viewer.