4Suite API Documentation

Module Ft.Server.Server.Xslt.XPathDocumentDefinition

XSLT extension elements and functions supporting the 4SS XPathDocumentDefinition API
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class AddNsMapElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Change the namespace mapping of this doc def.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'AddNsMapElement' objects>
__weakref__ = <attribute '__weakref__' of 'AddNsMapElement' objects>
content = <ContentModel object>
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'prefix': <Ft.Xml.Xslt.AttributeInfo.PrefixAvt instance>, 'uri': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

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

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

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

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class AddRdfMapElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Change the rdf mapping of this doc def.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'AddRdfMapElement' objects>
__weakref__ = <attribute '__weakref__' of 'AddRdfMapElement' objects>
content = <ContentModel object>
legalAttrs = {'object': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'object-is-resource': <Ft.Xml.Xslt.AttributeInfo.YesNoAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'predicate': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'subject': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}

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

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

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

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class RemoveNsMapElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Change the namespace mapping of this doc def.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'RemoveNsMapElement' objects>
__weakref__ = <attribute '__weakref__' of 'RemoveNsMapElement' objects>
content = <ContentModel object>
legalAttrs = {'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'prefix': <Ft.Xml.Xslt.AttributeInfo.PrefixesAvt instance>}

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

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

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

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class RemoveRdfMapElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Change the rdf mapping of this doc def.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'RemoveRdfMapElement' objects>
__weakref__ = <attribute '__weakref__' of 'RemoveRdfMapElement' objects>
content = <ContentModel object>
legalAttrs = {'object': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>, 'predicate': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'subject': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}

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

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

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

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__

Functions

GetNsMap(context, path=None)
GetRdfMaps(context, path=None)

Globals

ExtElements = {('http://xmlns.4suite.org/4ss/score', 'add-ns-map'): <class 'Ft.Server.Server.Xslt.XPathDocumentDefinition.AddNsMapElement'>, ('http://xmlns.4suite.org/4ss/score', 'add-rdf-map'): <class 'Ft.Server.Server.Xslt.XPathDocumentDefinition.AddRdfMapElement'>, ('http://xmlns.4suite.org/4ss/score', 'remove-ns-map'): <class 'Ft.Server.Server.Xslt.XPathDocumentDefinition.RemoveNsMapElement'>, ('http://xmlns.4suite.org/4ss/score', 'remove-rdf-map'): <class 'Ft.Server.Server.Xslt.XPathDocumentDefinition.RemoveRdfMapElement'>}
ExtFunctions = {('http://xmlns.4suite.org/4ss/score', 'get-ns-map'): <function GetNsMap>, ('http://xmlns.4suite.org/4ss/score', 'get-rdf-maps'): <function GetRdfMaps>}
FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
OBJECT_TYPE_LITERAL = 'L'
OBJECT_TYPE_RESOURCE = 'R'
SCORE_NS = 'http://xmlns.4suite.org/4ss/score'