4Suite
™
API Documentation
►
Module
Ft
.
Server
.
Server
.
Xslt
.RawFile
XSLT extension elements and functions supporting the 4SS RawFile API
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
SetImtElement
Functions:
GetImt
Fields:
ExtElements
,
ExtFunctions
,
SCORE_NS
Classes
class
SetImtElement
(
Ft.Xml.Xslt.StylesheetTree.XsltElement
)
Change the IMT of a resource
Methods
instantiate
(
self
,
context
,
processor
)
Methods inherited from class
Ft.Xml.Xslt.StylesheetTree.XsltElement
__init__
,
__str__
,
appendChild
,
expandQName
,
insertChild
,
parseAVT
,
parseExpression
,
parsePattern
,
processChildren
,
splitQName
Methods inherited from class
Ft.Xml.Xslt.StylesheetTree.XsltNode
idle
,
isLastChild
,
isPseudoNode
,
pprint
,
prime
,
setup
Fields
content
= <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs
= {'imt': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}
Fields
Fields
Functions
GetImt
(
context
,
path
=None
)
Get the IMT of a resource
Fields
ExtElements
= {('http://xmlns.4suite.org/4ss/score', 'set-imt'): <class Ft.Server.Server.Xslt.RawFile.SetImtElement>}
ExtFunctions
= {('http://xmlns.4suite.org/4ss/score', 'get-imt'): <function GetImt>}
SCORE_NS
= 'http://xmlns.4suite.org/4ss/score'