Question
TECHMAHINDRA
IN
Last activity: 1 Jan 2020 11:43 EST
Parse-XML : Conversion of XML tags from Japanese in English before calling Apply-Parse-XML method in activity
Hi,
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 ?