4Suite API Documentation

Module Ft.Xml.Xslt.NumberElement

Implementation of xsl:number

Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Fields:

Classes

class NameTest

Methods

__init__(self, node)
match(self, context, node)

class NodeTypeTest

Methods

__init__(self, node)
match(self, context, node)

Methods

createFormatter(self, format, language=None, letterValue=None)
Creates a formatter appropriate for the given language and letterValue, or a default, English-based formatter. Raises an exception if the language or letterValue is unsupported. Currently, if the language value is given, it must indicate English.
instantiate(self, context, processor)
setup(self)

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

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

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'count': <Ft.Xml.Xslt.AttributeInfo.Pattern instance>, 'format': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'from': <Ft.Xml.Xslt.AttributeInfo.Pattern instance>, 'grouping-separator': <Ft.Xml.Xslt.AttributeInfo.CharAvt instance>, 'grouping-size': <Ft.Xml.Xslt.AttributeInfo.NumberAvt instance>, 'lang': <Ft.Xml.Xslt.AttributeInfo.NMToken instance>, 'letter-value': <Ft.Xml.Xslt.AttributeInfo.ChoiceAvt instance>, 'level': <Ft.Xml.Xslt.AttributeInfo.Choice instance>, 'value': <Ft.Xml.Xslt.AttributeInfo.Expression instance>}

Fields

Fields

Fields

ANY = 2
SIMPLE = 3
SINGLE = 0
XSL_NAMESPACE = u'http://www.w3.org/1999/XSL/Transform'