[xsl] Hello World

Subject: [xsl] Hello World
From: Ingo Weiss <ingoweiss@xxxxxxx>
Date: Tue, 18 Jun 2002 20:39:42 -0400
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


Current Thread