Home Search

DriveWorks Pro 22
XPathGet

Send Feedback

XPathGet

Finds the value at a given path in an XML or JSON string.

Syntax

XPathGet([Input Data],[Path])

Where:

Input Data is the input data on which to search.

Path is the path to find in the given data object.

Examples

Please see the function XPathXMLGet for examples using XML data.

Please see the function XPathJSONGet for examples using JSON data.


See also

This function relates to the Send HTTP Request task.

DriveWorks Tech Tips Portal

Send HTTP Request

Look at how to request data from a web service using the HTTP Request task in DriveWorks. You can also look at how to retrieve data from the result using Xpath.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://my.driveworks.co.uk/learn/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.