Home | Trees | Index | Help |
---|
Package pyxslt :: Module transform :: Class EntityLoader |
|
object
--+
|
EntityLoader
libxml2 callback that applies a base path to all absolute stylesheet references. This callback is used by libxml2 when an XSL include or import directive is encountered.
Subclasses can extend this class and override loadFile() if they wish to load XSL files from other locations (a database, for example).Method Summary | |
---|---|
Initialize the EntityLoader with the base and relative paths that will be used to locate stylesheets. | |
libxml2 entity loader callback. | |
str
|
Load the XSL file with the given path. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
basePath,
relPath)
Initialize the EntityLoader with the base and relative paths that
will be used to locate stylesheets.
|
__call__(self,
url,
id,
ctx)
libxml2 entity loader callback.
|
loadFile(self, path)Load the XSL file with the given path.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jul 12 11:19:10 2006 | http://epydoc.sf.net |