Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to convert xml tag $lt; $gt to < and > ?

Hello, its me again, I have my  output XML file getting by tXmlMap and tHttpRequest  , but my xml file have not the tag < and > or ' , for exemple , how can i convert it ?

<?xml version="1.0" encoding="UTF-8"?>
<root>
<row>
<ows_Title>a_Title</ows_Title>
<ResponseContent>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;?mso-infoPathSolution name=&quot;urn:schemas-microsoft-com:office:infopath&quot; solutionVersion=&quot;0.0.0.394&quot; productVersion=&quot;14.0.0.0&quot; PIVersion=&quot;1.0.0.0&quot; href=&quot&lt;?mso-application progid=&quot;InfoPath.Document&quot; versionProgid=&quot;InfoPath.Document.3&quot;?&gt;
&lt;?mso-infoPath-file-attachment-present?&gt;

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I've always used StringEscapeUtils.unescapeHtml for this purpose.

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

You can use StringHandling.EREPLACE function in tXMLMap component

Anonymous
Not applicable
Author

I've always used StringEscapeUtils.unescapeHtml for this purpose.