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:
Globals:

Classes

class NameTest

Methods

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

Methods

__init__(self, node)
match(self, context, node)
class NumberElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)

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)
Overrides: instantiate from class XsltElement
setup(self)
Overrides: setup from class XsltElement

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 'NumberElement' objects>
__weakref__ = <attribute '__weakref__' of 'NumberElement' objects>
category = 0
content = <ContentModel object>
doesSetup = 1
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>}

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

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

Members inherited from class object

__class__

Globals

ANY = 2
DEFAULT_FORMAT = '1'
DEFAULT_LANG = 'en'
EMPTY_NAMESPACE = None
MULTIPLE = 1
SIMPLE = 3
SINGLE = 0
XSL_NAMESPACE = u'http://www.w3.org/1999/XSL/Transform'