This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Hello World
- From: Ingo Weiss <ingoweiss at mac dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 18 Jun 2002 20:39:42 -0400
- Subject: [xsl] Hello World
- References: <001601c21710$4117a760$6401a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi all,
I am trying to write an easy "hello world" example (basically just to
test whether it works in Mozilla 1.0)
I have a "test.xml":
"
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xml" href="style.xsl"?>
<start>
<entry>
Hello World
</entry>
</start>
"
and a "style.xsl":
"
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:value-of select="start"/>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
"
loading "test.xml" into Mozilla yields - nothing!
What's wrong?
[Sorry for bothering you with a beginner's question]
Ingo
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list