and more in a single search tool across platforms. Read the announcement here. |
06/07/2024 05:06 AM
Saviynt's SOAP connector doesn't use XPATH to parse XMLs, instead it uses a format like this:
Body.Create_Position_Response.Position_Reference.ID(@wd:type=='Position_ID')
What is this notation called? It is similar to xpath with some changes like it is using "." instead of "/" but it is not xpath.
Is this some standard notation / syntax? How can I learn more about this notation?
Does Saviynt convert the XMLs to JSONs internally and then parse them? What library does it use for this conversion?
Basically I want to learn this notation so I can parse any arbitrary paths but I don't know the name of this notation so dont know where to start.
Literally any information would be helpful.
06/07/2024 05:25 AM
The notation you're referring to, used by Saviynt's SOAP connector, resembles a variant of JSONPath adapted for XML, sometimes called XPath-like JSONPath or JSONPath for XML. This notation is not a widely recognized standard like XPath, but it is used in certain tools and contexts to provide a more JSON-like syntax for XML parsing.
Here's a breakdown of its characteristics:
To learn more about this notation, you can start by understanding the basics of both XPath and JSONPath: