PyDocs

Nav

Structured Markup Processing Tools

xmlparser.CharacterDataHandler

  • xmlparser.CharacterDataHandler(data)
Called for character data. This will be called for normal character data, CDATA marked content, and ignorable whitespace. Applications which must distinguish these cases can use the StartCdataSectionHandler, EndCdataSectionHandler, and ElementDeclHandler callbacks to collect the required information. Note that the character data may be chunked even if it is short and so you may receive more than one call to CharacterDataHandler(). Set the buffer_text instance attribute to True to avoid that.
0 Examples
No examples for xml.parsers.expat/xmlparser.CharacterDataHandler.
See Also
No see-alsos for xml.parsers.expat/xmlparser.CharacterDataHandler
0 Notes
No notes for xmlparser.CharacterDataHandler