The answer to your question si simple.

It depends on the browser. For example from ie 5.0 you have the ability to
view the XML "rendered" with the XSL from the browser.

Find attachment an example

NOTICE !!! : this does not working with the navigator


----- Original Message -----
From: "Sujay Kamath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 8:10 AM
Subject: HTML file as output.


> Hi,
>
> I would like to view the data in HTML format, where in the data is
contained
> in an XML document. I am using XSL for this purpose.
>
> Do you need to have XSL/XSLT processor to get the desired result. ?
>
> If anybody who has a clear idea on this aspect, I would appreciate if you
> can mail be regarding this.
>
> Thanking you,
>
> Sujay.
>
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="foo.xsl"?>
<RESULTS DOCID="03">
  <ARTICLE> 
   <ARTICLEID>399D0000</ARTICLEID>
   <TITLE>oixcjewnojcoiew</TITLE>
  </ARTICLE>
  <ARTICLE> 
   <ARTICLEID>399D0001</ARTICLEID>
   <TITLE>1</TITLE>
  </ARTICLE>
  <ARTICLE> 
   <ARTICLEID>399D0002</ARTICLEID>
   <TITLE>2</TITLE>
  </ARTICLE>
</RESULTS> 

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="/">
  <html>
  <body>
    <table border="2" bgcolor="yellow">
      <tr>
        <th>Article</th>
        <th>Register</th>
        <th>Title</th>
      </tr>
      <xsl:for-each select="RESULTS/ARTICLE">
      <tr>
        <td><xsl:value-of select="ARTICLEID"/></td>
        <td>same</td>
        <td><xsl:value-of select="TITLE"/></td>
      </tr>
      </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>

Reply via email to