This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hello World


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]