xslt.StylesheetProvider

The xslt.StylesheetProvider class is used to provide an xslt stylesheet to the xslt.Stylesheet.compile() function.

class xslt.StylesheetProvider(unicode text)

Class methods

classmethod xslt.StylesheetProvider.create_from_location(type cls, unicode text)

Creates an xslt.StylesheetProvider from the content of a file.

classmethod xslt.StylesheetProvider.create_from_node(type cls, NodeItem node)

Creates an xslt.StylesheetProvider from an xpath.NodeItem.

classmethod xslt.StylesheetProvider.create_from_text(type cls, unicode text)

Creates an xslt.StylesheetProvider from xml text.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__