Praveen_More Member since 2014 8 posts
Posted: December 19, 2019
Last activity: January 1, 2020

Parse-XML : Conversion of XML tags from Japanese in English before calling Apply-Parse-XML method in activity


Requirement is to upload the XML file (which is having all Japanese tags) and save the XML data to the corresponding DB tables.

we generated the parse-XML rule as per the structure of XSD. All properties in Pega are created in English only.

Now user will upload the XML file (with Japanese tags) via button.

I would like to understand how should we convert all Japanese tags to English before calling Apply-Parse-XML method.

we are using Java step in parse activity and using the below function:

fileContent= fileContent.replace("<Japanese Tag>","<English Tag>")

However, we have more than 100 tags in our XML file.

Any approach to implement this ?

Low-Code App Development Low-Code App Development Dev/Designer Studio Data Integration Java and Activities Data Integration
Share this page LinkedIn