Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
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.
ns xutil extension = "http://xml.libslax.org/xutil";
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. |