Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Removing CDATA around XML Adds Unwanted Escaping

$
0
0

Hi Carlton,

 

To keep it simple if you only need FirstName from the response you can use below XSLT only in the operation mapping no need to include message mapping because i am taking only FirstName field from the response.

 

<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enab="enablon">   <xsl:template match="/">      <ns0:MT_UserNameOut xmlns:ns0="http://isbdcapp86/Enablon7.8Train/rpc_literal.wsdl">         <UserName>            <xsl:value-of select="substring-before(substring-after(/SOAP-ENV:Envelope/SOAP-ENV:Body/enab:ExportDataResponse/Data, &apos;&lt;FirstName&gt;&apos;), &apos;&lt;/FirstName&gt;&apos;)"/>         </UserName>      </ns0:MT_UserNameOut>   </xsl:template></xsl:stylesheet>

output.png

Regards,

Praveen.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>