Ft.Xml.XPath.BuiltInExtFunctions

Modules

Conversions  Uri  os  urllib 
Ft  boolean  re  whrandom 
MathFunctions  codecs  time   

Classes

class Node

Data and other non-method functions defined here:

ATTRIBUTE_NODE = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CDATA_SECTION_NODE = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMENT_NODE = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_FRAGMENT_NODE = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_NODE = 9
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_TYPE_NODE = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ELEMENT_NODE = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_NODE = 6
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_REFERENCE_NODE = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOTATION_NODE = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PROCESSING_INSTRUCTION_NODE = 7
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TEXT_NODE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_ANCESTOR = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DESCENDENT = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DISCONNECTED = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_EQUIVALENT = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_FOLLOWING = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_PRECEDING = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_SAME_NODE = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'xml.dom'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

BaseUri(context, arg=None)
BinPath(context)
Decode(context, object, encoding)
Distinct(context, nodeset)
Encode(context, object, encoding)
EndsWith(context, outer, inner)
EnvVar(context, var)
EscapeUrl(context, url)
EscapeXml(context, text)
Evaluate(context, expr)
Find(context, outer, inner)
GenerateUuid(context)
If(context, cond, v1, v2=None)
ImportString(context, object)
Indent(context, text, levels, indentstring=None)
IsoTime(context)
Join(context, nodeset, delim=' ')
LineWrap = Wrap(text, width)
Match(context, pattern, arg=None)
NodeSet(context, rtf)
NormalizeEol(context, text)
OsPath2Uri(context, path)
ParseDate(context, date, format=None)
ParseXml(context, src, parameters=None)
PytimeToExslt(context, t=None)
Random(context, max=None, forceInt=0)
Range(context, lo, hi)
Replace(context, old, new, arg=None)
ResolvePath(context, base, rel)
ResolveUrl(context, base, rel)
ShaHash(context, text)
SharePath(context)
Spawnv(context, command, *args)
StrFTime(context, format, date=None)
System(context, command)
Uri2OsPath(context, uri)
Version(context)
Wrap(context, text, width)

Data

DeprecatedFunctions = {('http://xmlns.4suite.org/ext', 'distinct'): <function Distinct>, ('http://xmlns.4suite.org/ext', 'escape-url'): <function EscapeUrl>, ('http://xmlns.4suite.org/ext', 'evaluate'): <function Evaluate>, ('http://xmlns.4suite.org/ext', 'find'): <function Find>, ('http://xmlns.4suite.org/ext', 'iso-time'): <function IsoTime>, ('http://xmlns.4suite.org/ext', 'node-set'): <function NodeSet>}
ExtFunctions = {('http://xmlns.4suite.org/ext', 'base-uri'): <function BaseUri>, ('http://xmlns.4suite.org/ext', 'bin-path'): <function BinPath>, ('http://xmlns.4suite.org/ext', 'cos'): <function Cos>, ('http://xmlns.4suite.org/ext', 'decode'): <function Decode>, ('http://xmlns.4suite.org/ext', 'degrees-to-rads'): <function DegreesToRads>, ('http://xmlns.4suite.org/ext', 'distinct'): <function Distinct>, ('http://xmlns.4suite.org/ext', 'encode'): <function Encode>, ('http://xmlns.4suite.org/ext', 'ends-with'): <function EndsWith>, ('http://xmlns.4suite.org/ext', 'env-var'): <function EnvVar>, ('http://xmlns.4suite.org/ext', 'escape-url'): <function EscapeUrl>, ...}
ExtNamespaces = {'http://xmlns.4suite.org/ext': 'f'}
FT_EXT_NAMESPACE = 'http://xmlns.4suite.org/ext'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
FT_OLD_EXT_NAMESPACE = 'http://xmlns.4suite.org/xpath/extensions'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/XPath/BuiltInExtFunctions.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Xml.XPath.BuiltInExtFunctions'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.