AnsweredAssumed Answered

Parsing of value from XML Request which contains &lt, &gt

Question asked by SAI-PNC on Jul 26, 2017
Latest reply on Aug 2, 2017 by Joel NeSmith

Hi All,

 

I have an XML request that has DOCUMENTOPTIONS that contains below sample code

 

<DOCUMENTOPTIONS>
   <Document _Type="BOOK" _mode="AIR" />
</DOCUMENTOPTIONS>


The actual XML contains &lt and &gt as below.

&lt;DOCUMENTOPTIONS&gt;

&lt;Document _Type="BOOK" /&gt;
&lt;Delivery _mode="AIR" /&gt;

&lt;/DOCUMENTOPTIONS&gt;

 

My requirement is to filter the value of _Type but I'm unable to read this value using filter options that are available since XML structure is broken due to &lt and &gt.

Is there a way to read the value.

Outcomes