XPath

From Planfix
Revision as of 09:40, 29 March 2024 by Aliona (talk | contribs) (Aliona moved page Xpath to XPath without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For debugging and parsing errors, use the special online service: XPath Online tester


Data in XML format can be sent to Planfix and parsed using XPath.

Use ChatGPT to compose an XPath request for parsing the necessary data.

Example of parsing XML of the FloatRates website

The FloatRates website provides an XML with current exchange rates. You can get them in Planfix and then parse the required currency value. To do this, set up the button:

  • Send a request to get XML data:

JXUGaA.jpg

  • Parse the received response in XML format:

SXKUg4.jpg

  • As a result, after clicking on the button, the current euro rate will appear in the task:

wYHVwt.jpg

Similarly, any XML data sent to Planfix can be parsed.


Go To