Ft.Xml.XUpdate

Modules

AttributeValueTemplate  DomWriter  NullWriter   
Context  Domlette  parser   
Conversions  NonvalReader  string   

Classes

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 Processor
__init__(self, reader=None)
execute(self, node, xupdate, variables=None)
parseAVT(self, avt)
parseExpression(self, expression)
popResult(self)
pushDomResult(self, ownerDocument)
pushStringResult(self)
visit(self, context, node, preserveSpace)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
fromSrc = parse(self, inputSource)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self)
getResult(self)
text(self, data)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.XUpdate'
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 XUpdateException(Ft.FtException)
__init__(self, code, *args)

Data and other non-method functions defined here:

INVALID_CONTENT = 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.
INVALID_SELECT = 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.
NO_SELECT = 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.
NO_TARGET = 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.
NO_TEST = 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.
NO_VERSION = 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.
UNABLE_TO_RENAME = 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.
__doc__ = None
__module__ = 'Ft.Xml.XUpdate'
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

ApplyXupdate(doc, xup)
SplitQName(...)
SplitQName(qualifiedName) -> (prefix, localName)

where 'qualifiedName' is a QName according to XML Namespaces 1.0
<http://www.w3.org/TR/REC-xml-names>.
returns the name parts according to the spec.

Data

EMPTY_NAMESPACE = None
XML_NAMESPACE = u'http://www.w3.org/XML/1998/namespace'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
XUPDATE_NS = 'http://www.xmldb.org/xupdate'
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/XUpdate.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.XUpdate'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_errorMessages = {1: 'missing required version attribute', 2: 'missing required select attribute', 3: 'select expression "%s" must return a non-empty node-set', 4: 'invalid content', 5: 'unable to rename element', 6: 'missing required test attribute', 7: 'missing required target attribute'}