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 »
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 ?
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 ?
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Read encoded value in XML
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
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service