Re: [xsl] Hello World

Subject: Re: [xsl] Hello World
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Wed, 19 Jun 2002 10:49:13 -0400
[Ingo Weiss]

> > Use xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; instead.
> 
> Thanks!
> Actually this doesn't work either. I am hopeful though since at
> one point Mozilla displayed at least something I typed into the
> stylesheet, which means that at least it processes the stylesheet
> somehow. IE doesn't even do this. I will keep trying.
> 
> What would be the simplest possible XSL "Hello World" that
> eliminates as many possible sources of failure as possible?
> 

================================
<?xml-stylesheet type='text/xsl' href='simplest.xsl'?>
<doc/>

===========================
<xsl:stylesheet version="1.0" 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
 
<xsl:template match="/doc">
<result>Hi, there</result>
</xsl:template>

</xsl:stylesheet>


Works with IE6 and Mozilla 1.0.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread