Hi,
I have an interface where the message has all the required fields within the CDATA segment.
Below is the request:
<ns1:return ns1:type="com.skire.webservices.util.xml.XMLObject">
<ax21:statusCode xmlns:ax21="http://xml.util.webservices.skire.com/xsd">200</ax21:statusCode>
<ax21:xmlcontents xmlns:ax21="http://xml.util.webservices.skire.com/xsd"><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
<List_Wrapper>
<_user>
<employee>UPDATE2</employee>
<uuu_user_loginname>XYZ</uuu_user_loginname>
<uuu_user_homephone>123</uuu_user_homephone>
<uuu_user_workphone>987</uuu_user_workphone>
<uuu_user_proxy></uuu_user_proxy>
</_user>
</List_Wrapper>]]>
</ax21:xmlcontents>
</ns1:return>
Desired Output :
<ax21:statusCode xmlns:ax21="http://xml.util.webservices.skire.com/xsd">200</ax21:statusCode>
<_user>
<employee>UPDATE2</employee>
<uuu_user_loginname>XYZ</uuu_user_loginname>
<uuu_user_homephone>123</uuu_user_homephone>
<uuu_user_workphone>987</uuu_user_workphone>
<uuu_user_proxy></uuu_user_proxy>
</_user>
I have done a XSLT:
<xslt:stylesheet
xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xslt:output omit-xml-declaration="yes"/>
<xslt:template match="result">
<xslt:value-of disable-output-escaping="yes" select="."/>
</xslt:template>
</xslt:stylesheet>
But i am missing something. It does not work.