Read encoded value in XML

Questions about XML that are not covered by the other forums should go here.
Posts: 1
Joined: Mon May 25, 2020 5:44 pm

Read encoded value in XML

Post by pratik4891 » Mon May 25, 2020 5:48 pm

Hi ,

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

How to read the actual value ?

Posts: 7528
Joined: Fri Jul 09, 2004 5:18 pm

Re: Read encoded value in XML

Post by Radu » Tue May 26, 2020 6:56 am


It depends on what programming language you are using.
For example if you read the value using the Java language, there is a "" 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: ... t/13778818

Radu Coravu
<oXygen/> XML Editor

Post Reply