Ft.Xml.XPath

Package Contents

BuiltInExtFunctions  MessageSource  ParsedAxisSpecifier  ParsedStep 
Context  NamespaceNode  ParsedExpr  Types 
Conversions  ParsedAbbreviatedAbsoluteLocationPath  ParsedNodeTest  Util 
CoreFunctions  ParsedAbbreviatedRelativeLocationPath  ParsedPredicateList  XPathParser 
MathFunctions  ParsedAbsoluteLocationPath  ParsedRelativeLocationPath  XPathParserc 

Modules

boolean  parser  types   

Classes

class CompiletimeException(Ft.Xml.XPath.XPathException)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

INTERNAL = 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.
SYNTAX = 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.
__doc__ = None
__module__ = 'Ft.Xml.XPath'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class FtException(exceptions.Exception)
__init__(self, errorCode, messages, args)
__str__(self)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
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.
class RuntimeException(Ft.Xml.XPath.XPathException)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

ARGCOUNT_ATLEAST = 202
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.
ARGCOUNT_ATMOST = 204
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.
ARGCOUNT_EXACT = 203
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.
ARGCOUNT_NONE = 201
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.
INTERNAL = 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.
NO_CONTEXT = 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.
UNDEFINED_FUNCTION = 102
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.
UNDEFINED_PREFIX = 101
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.
UNDEFINED_VARIABLE = 100
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.
WRONG_ARGUMENTS = 200
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__ = 'Ft.Xml.XPath'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class XPathException(Ft.FtException)
__init__(self, errorCode, messages, args)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.XPath'
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

Compile(expr)
CreateContext(contextNode)
Evaluate(expr, contextNode=None, context=None)
NormalizeNode(node)

Data

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.
Inf = inf
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.
NAMESPACE_NODE = 10000
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.
NaN = nan
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/XPath/__init__.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'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__path__ = ['build/lib.linux-ppc-2.2/Ft/Xml/XPath']
g_xpathPrimitiveTypes = [<type 'str'>, <type 'unicode'>, <type 'int'>, <type 'long'>, <type 'float'>, <type 'list'>, <type 'boolean'>]
g_xpathRecognizedNodes = [1, 2, 3, 9, 7, 8]