XML

XML list type allows to create items list by querying data from a XML file. Data is read via XPath query language.

itemlists_xml

Path
Browse to or enter the target XML filename.

Info

Browse allows to upload the XML file to the server, this operation stores the XML file in the local Scanshare data folder.

Warning

For security and privacy reasons the filename is always referring to the Scanshare data folder and not to a full absolute path. Do not insert absolute paths which will generate instead an error.

Element displayed
Enter or select the XPath expression which resolves to the list of values which will be displayed in the client list , or click on the Variables button on the right, to select a variable which will contain the expression.

Press the List button to show a list of the available nodes inside the target XML file, by selecting a node here a standard direct node XPath expression will be created.

Element returned
Enter or select the XPath expression which resolves to the list of values which will be used as returned values on the client list item selection, or click on the Variables button on the right, to select a variable which will contain the expression.

Press the List button to show a list of the available nodes inside the target XML file, by selecting a node here a standard direct node XPath expression will be created.

The returned expression is optional, if not specified the displayed value will be automatically returned.

Info

If both displayed and returned fields are used make sure to use XPath expressions which return the same amount of elements otherwise unexpected values might be returned.

Previous Article

Script