XPath: Difference between revisions
From Planfix
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
}} | }} | ||
<div style="background-color:#ffcaca; border: 1px solid #fd9292;padding:10px;">For debugging and parsing errors, use the special online service: [http://xpather.com/ XPath Online tester]</div> | <div style="background-color:#ffcaca; border: 1px solid #fd9292;padding:10px;">For debugging and parsing errors, use the special online service: [http://xpather.com/ XPath Online tester]</div> | ||
Data in XML format can be sent to Planfix and parsed using [https://www.w3schools.com/xml/xpath_intro.asp XPath]. | Data in XML format can be sent to Planfix and parsed using [https://www.w3schools.com/xml/xpath_intro.asp XPath]. |
Revision as of 07:40, 22 February 2024
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:
- Parse the received response in XML format:
- As a result, after clicking on the button, the current euro rate will appear in the task:
Similarly, any XML data sent to Planfix can be parsed.