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]

Hello World


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



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