Parse and serialize functions

From W3C XForms Group Wiki (Public)
Jump to: navigation, search

The xf:parse-xml() function

If we add a parse function in our own namespace it should be compatible with http://www.w3.org/TR/xpath-functions-30/#func-parse-xml (parse-xml function of XPath 3.0 and XQuery 3.0).

Note: Until we know what the behavior UI of bindings to non instance nodes this function should throw an xforms-binding-exception if it is used in a UI Binding Expression.

The xf:serialize() function

If we add a serialize function in our own namespace it should be compatible with http://www.w3.org/TR/xpath-functions-30/#func-serialize (parse function of XPath 3.0 and XQuery 3.0).