libslax xutil Extension Library
The xutil extension library contains functions that convert between strings and XML node sets. To incorporate functions from the xutil extension library into SLAX scripts, include the namespace statement for that library in the script.
Call the xutil extension functions using the xutil prefix and the function name. Table 1 lists the functions available in the xutil extension library and which are supported in SLAX 1.1 scripts.
Table 1: Functions in the xutil Extension Library
Function and Arguments | Description |
---|---|
xutil:string-to-xml(string+) | Return a node set of the concatenated string arguments. |
xutil:xml-to-string(node-set+) | Return a string representation of the XML hierarchies provided as arguments. |