Availability
$WBXCHNAMES is available for use with all WBSP commands.
Syntax
$WBXCHNAMES{XMLSource|pattern|delimiter}
$WBXCHNAMES[XMLSource|pattern|delimiter
]
Parameters
XMLSource - String value containing XML to be searched. Note that this is
not an URL of the XML file but XML source itself.
pattern - Any valid XPath pattern (). When using square
brackets in pattern use $WBFN[CHR(91)] for left and $WBFN[CHR(93)] for right
square bracket, or use escape characters.
delimiter - optional
paramater - contains the character that will be used to separate names of child
nodes. Default value is comma (,).
Returns
Names of the child
nodes of node(s)
matching XPath pattern separated by delimiter.
Example
File
XMLSample.xml
After running this example, the resulting page in browser should look like this: