Page 1 of 1

Read encoded value in XML

Posted: Mon May 25, 2020 5:48 pm
by pratik4891
Hi ,

In XML element value first bracket , comma , space etc are coming as encoded value like %22 ,%3D .
Below is one example -

DUNS_NUMBER+%3D+DUNS_NUMBER1
How to read the actual value ?

Re: Read encoded value in XML

Posted: Tue May 26, 2020 6:56 am
by Radu
Hi,

It depends on what programming language you are using.
For example if you read the value using the Java language, there is a "java.net.URLDecoder" which can be used to replace the percent encodings with the original character. A function to decode percent encodings can also be created for XSLT:

https://stackoverflow.com/questions/137 ... t/13778818

Regards,
Radu