-1

I have JSON String value > which is a special character in XML.

After the data ingestion, the XML String becomes \u003e.

How can I preserve > in the XML String?

Fiona Chen
  • 1,358
  • 5
  • 16

2 Answers2

2

You can use the XML escaped characters

"   "
'   '
<   &lt;
>   &gt;
&   &amp;

This post might help you with more info What characters do I need to escape in XML documents?

Paulo D'Elia
  • 115
  • 7
0

In almost all cases, > is fine as itself in XML. See Simplified XML Escaping for details.

After the data ingestion, the XML String becomes \u003e.

How can I preserve > in the XML String?

How to preserve a character through a translation depends entirely on the translation. You've said specified nothing more than "data ingestion". It can be a challenge to identify and remedy a poor translation of a known program; doing so for an unknown program is impossible.

Your question is unanswerable as it currently stands.

kjhughes
  • 106,133
  • 27
  • 181
  • 240