Package s3 :: Module s3xml :: Class S3EntityResolver
[frames] | no frames]

Class S3EntityResolver

source code

lxml.etree.Resolver --+
                      |
                     S3EntityResolver

Safe entity resolver for S3XML.parse

Instance Methods
 
__init__(self, source)
Constructor
source code
 
resolve(self, system_url, public_id, context)
Safe resolution of external parsed entities
source code
Method Details

__init__(self, source)
(Constructor)

source code 

Constructor

Parameters:
  • source - the document source, to distinguish it from other external entities (if it is an external entity itself)

resolve(self, system_url, public_id, context)

source code 

Safe resolution of external parsed entities

Parameters:
  • system_url - the system URL of the external entity
  • public_id - the public ID of the entity
  • context - opaque context object