Help in XSL creation

Hi,

     Im very new in the world of XML and currently reading about XSL creation.
I have a SOAP response message with several URIs and namespaces.  When I try to
create the XSL for this soap message, no data appears.  My thinking is that the
presence of namespaces in the soap message is not properly recognized in the XSL
document and I dont know how to "define" them.  COuld I get some suggestions how
can i do it?

     Here's the SOAP message:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="sum.xsl"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<Z_WS_FROI_SUM.Response  xmlns="urn:sap-com:document:sap:rfc:functions">
<RESULT>3</RESULT>
</Z_WS_FROI_SUM.Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

     Heres' the XSL docu:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <html>
  <body>
  <h1>Summation Web Service</h1>
    <table border="1">
      <tr bgcolor="#9acd32">
        <th align="center">Results</th>
      </tr>
      <tr>
            <th><xsl:value-of select="SOAP-ENV:Envelope/SOAP-ENV:Body/Z_WS_FROI_SUM.Response/RESULT"/></th>
       </tr>
    </table>
  </body>
  </html>
</definitions>
</xsl:template>
</xsl:stylesheet>

Thanks
Froi

Received on Thursday, 24 April 2003 05:25:39 UTC