4Suite API Documentation

Module Ft.Xml.Xslt.Stylesheet

xsl:stylesheet / xsl:transform implementation; various stylesheet internals
Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:

Classes

class StylesheetElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)

Methods

__init__(self, *args, **kwds)
Overrides: __init__ from class XsltElement
applyTemplates(self, context, processor, params=None, maxImport=None)
getGlobalVariables(self)
getInitialFunctions(self)
getNamedTemplates(self)
idle(self, contextNode, processor, baseUri=None)
Overrides: idle from class XsltElement
primeStylesheet(self, contextNode, processor, topLevelParams, docUri)
reset(self)
Called whenever the processor is reset, i.e. after each run Also called whenever multiple stylesheets are appended to a processor, because the new top-level elements from the new stylesheet need to be processed into the main one
reset1(self)
reset2(self)
setup(self)
Called only once, at the first initialization
Overrides: setup from class XsltElement
updateAllKeys(self, context, processor)
Update all the keys for all documents in the context Only used as an override for the default lazy key eval
updateKey(self, doc, keyName, processor)
Update a particular key for a new document

Methods inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'StylesheetElement' objects>
__weakref__ = <attribute '__weakref__' of 'StylesheetElement' objects>
category = None
content = <ContentModel object>
doesIdle = False
doesPrime = False
doesSetup = False
legalAttrs = {'exclude-result-prefixes': <Ft.Xml.Xslt.AttributeInfo.Prefixes instance>, 'extension-element-prefixes': <Ft.Xml.Xslt.AttributeInfo.Prefixes instance>, 'id': <Ft.Xml.Xslt.AttributeInfo.Id instance>, 'version': <Ft.Xml.Xslt.AttributeInfo.Number instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

Members inherited from class object

__class__

Functions

MatchTree(patterns, context)
Returns all nodes, from context on down, that match the patterns