Posted: 20 Feb 2015 9:49 EST Last activity: 20 Feb 2015 9:50 EST
Parse XML with XPath
we are introducing Web Services and the interface definition has changed. Our approach is to use the old code and map the new interface to the old data model layer using the Parse XML.
The old data model of class Description has 4 properties: englishText, germanText, frenchText
The new Description structure in the Web Service is as following:
Is there any way to map the new repeatible structure to the old flat one within the Parse XML?
We are using PRPC v6.1
I've read the version 5 Parse XML allowed to use XPath, I've tried to save as an old Parse XML rule (which is still using the old version, also if deprecated), and use it as Apply-Rule on the description node, but it seems the following xpath is not working:
language[locale='fr']/value | Set Value | .frenchText