SabinoP6 Member since 2013 1 post
Cognizant Technology Solution
Posted: 5 years ago
Last activity: 5 years 7 months ago

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:




    <value>English description</value>




    <value>Frensh description</value>




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


Thanks for the help

Data Integration
Moderation Team has archived post
Share this page LinkedIn