Originally posted by: Liv2luv
I have a WTX map running on datapower, Input for the map can be a text or xml file. The map is used as a wrapper to convert text messages into xml. No issues in case of text input. For XML input, the < and > are escaped as < ; and > ; (with-out space) respectively. For example:
Input xml text
<?xml version=
"1.0" encoding=
"utf-8"?> <invoice> <item> <description>Pilsner Beer</description> <qty>6</qty> <unitPrice>1.69</unitPrice> </item> </invoice>
output (after coming out of WTX map)
<tag>< ;?xml version="1.0" encoding="utf-8"?> ; < ;invoice> ; < ;item> ; < ;description> ;Pilsner Beer< ;/description> ; < ;qty> ;6< ;/qty> ; < ;unitPrice> ;1.69< ;/unitPrice> ; < ;/item> ; < ;/invoice> ;</tag>
the XML is wrapped in <tag/> element. how can the < and > be unescaped ? My project interchange is attached.
Thanks.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender