W3C home > Mailing lists > Public > www-ws@w3.org > April 2003

Help in XSL creation

From: <rabatan.fe@pg.com>
Date: Thu, 24 Apr 2003 16:50:29 +0800
To: www-ws@w3.org
Message-ID: <OF4B1B67C7.D9C260E1-ON48256D12.00303FC6@na.pg.com>


     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/">
<Z_WS_FROI_SUM.Response  xmlns="urn:sap-com:document:sap:rfc:functions">

     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/">
  <h1>Summation Web Service</h1>
    <table border="1">
      <tr bgcolor="#9acd32">
        <th align="center">Results</th>
            <th><xsl:value-of select="SOAP-ENV:Envelope/SOAP-ENV:Body/Z_WS_FROI_SUM.Response/RESULT"/></th>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:05:10 UTC