Within XML processing, we have a command called “XML: Execute XPath Function”. This is great … however, what I’d like to know is which release of XPath is supported. We now appear to have three releases:
– XPath 1.0
– XPath 2.0
– XPath 3.0
Each one adds more function than before but they are not downwardly compatible. For example, I tried to use an XPath 2.0 construct:
if (/state/var1) then /state/var1 else “default”
(The intent was to retrieve the value of the node at /state/var1 if it exists and use “default” if not).
When I tried this, I got a syntax error. Now it is possible I coded something badly … but it is also very possible that the AA product only supports XPath 1.0 … and hence the error could be due to that …. and hence the question.