AnsweredAssumed Answered

XSL transformation to xml in context variable giving exception

Question asked by Siva.Vasipally on Feb 17, 2016
Latest reply on Mar 15, 2016 by jl7ag

Am trying to convert the xml in the context variable to html using the apply xsl transformation

Step1 :

set context variable ,

custdetatilsRec - is the variable name, Data type as message


<?xml version="1.0" encoding="UTF-8"?>












Step 2:


apply xsl transformation

<?xml version="1.0" encoding="UTF-8"?>

< xsl:stylesheet version="1.0"



< xsl:template match="/">



       <h2>List of customers</h2>

       <table border="1">

             <tr bgcolor="#9acd32">





                 <td><xsl:value-of select="customers/customer/Name"/></td>

                 <td><xsl:value-of select="customers/customer/Role"/></td>





< /xsl:template>


< /xsl:stylesheet>


ourput variable as : xslt1


Step 3:

return response to requestor



getting the blank message :

<data contentType="text/xml;charset=UTF-8" contentLength="0"><![CDATA[]]></data>


Requesting for your suggestions where went wrong................. attached the policy...@