XML XPath

An XML XPath Feed will parse XML data, and bring in a tabular dataset.  The feed with be designated as an “XML XPath” feed in the data pipeline (example below).

Step 1:  Base Configuration #

Property Name
Description
Poll Interval (seconds)
This value determines how often the server will check the XML data for updates.
Enable Server Subscription If set, the server will subscribe to the feed, just as a client widget would. This means that the data and any resources that would otherwise be allocated “on-demand” for the first user to view a Visualization that leverages the data produced by this feed are allocated when the server is started and maintained as long as this feed is configured.

Step 2:  XML XPath Parser #

The XML XPath Parser step contains two panels:

  • The XPath panel facilitates configuration of the parsing of the input XML.
  • The XML Data panel previews the results.

XPath #

The “XPath” panel uses XPath syntax to select portions of the XML Document. Instructions for the XPath syntax can be found here:

XML Data #

The “XML Data” panel allows you to preview the source XML data, as well as the resulting XML data after applying the XPath syntax.

Option
Description
Raw Data Tab This tab shows what the Raw XML data looks like inside the source XML file. Use this tab as a reference when writing the XPath selector.
XPath Results Tab This tab shows the resulting XML data after parsing it with the supplied XPath syntax. To update, press the “Test” button in the XPath panel, then toggle back and forth between “Raw’ and “Results” to validate your XPath syntax.
Select Exposed Values Tab This tab shows a list of all discovered attributes from the XPath Results. Any attributes in this list will be used in converting the data to a tabular format. By default, all attributes are included, and the “Include” column can be checked or unchecked to add or remove attributes from the list as desired. Additionally, the value in the “Label” column can be changed at the administrator’s discretion.
Download Raw This button allows the administrator to save a copy of the raw data as an XML file. The file will be downloaded directly to the local machine, similar to any other file that one would download from the browser.