Table Of Contents

Previous topic

QXmlLexicalHandler

Next topic

QXmlDTDHandler

QXmlEntityResolver

Detailed Description

The PySide.QtXml.QXmlEntityResolver class provides an interface to resolve external entities contained in XML data.

If an application needs to implement customized handling for external entities, it must implement this interface, i.e. PySide.QtXml.QXmlEntityResolver.resolveEntity() , and register it with QXmlReader.setEntityResolver() .

class PySide.QtXml.QXmlEntityResolver
PySide.QtXml.QXmlEntityResolver.errorString()
Return type:unicode

The reader calls this function to get an error string if any of the handler functions returns false.

PySide.QtXml.QXmlEntityResolver.resolveEntity(publicId, systemId)
Parameters:
  • publicId – unicode
  • systemId – unicode
Return type:

PySequence