2005-08-04 02:37:13

XUpdate request processing

XUpdate is specified (poorly) at http://xmldb-org.sourceforge.net/xupdate/xupdate-wd.html

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

Returns the current output writer

A reader of XUpdate documents. Must contain a fromSrc() method that takes an Ft.Xml.InputSource and returns a Domlette document. It does not need to detect XUpdate syntax errors.

Reads XML from an Ft.Xml.Inputsource.InputSource, and returns a Domlette document node.

Exception class for errors specific to XUpdate processing

- 100
- 13
- 11
- 12
- 10
- 1
- 101
- 2
- 14

Takes 2 InputSources, one for the source document and one for the XUpdate instructions. It returns a DOM node representing the result of applying the XUpdate to the source document (the document is modified in-place).

Deprecated. Use ApplyXUpdate (only the name changed).

None
('1.0',)
u'http://www.w3.org/XML/1998/namespace'
'http://www.xmldb.org/xupdate'
['XUPDATE_NS', 'XUpdateException', 'g_errorMessages', 'StringWriter', 'SUPPORTED_VERSIONS', 'Processor', 'Reader', 'ApplyXUpdate']
{1: 'Syntax error in expression %(expr)r: %(err)s', 2: 'Unrecognized instruction in XUpdate namespace: %(name)r', 10: 'Missing required version attribute', 11: 'Missing required select attribute', 12: 'Missing required "test" attribute', 13: 'select expression "%(expr)s" must evaluate to a non-empty node-set', 14: 'XUpdate version %(version)s unsupported by this implementation', 100: 'Invalid DOM node %(node)r', 101: 'Unknown node type %(nodetype)r'}