[
Lists Home |
Date Index |
Thread Index
]
- From: "Chen Hong Qiang" <chq@softlab.nju.edu.cn>
- To: xml-dev@ic.ac.uk
- Date: Fri, 31 Dec 1999 11:41:15 +0800
Hello,
I download Mozilla , but It cannot display
xml file as I have wished.
For example :the xml and xsl file like this:
XML source:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="result.xsl"?>
<xslTutorial >
<employee>
<firstName>Joe</firstName>
<surname>Smith</surname>
</employee>
</xslTutorial>
result.xsl:
<xsl:stylesheet xmlns:xsl='http://www.w3.org/XSL/Transform/1.0'>
<xsl:template match="firstName|surname">
<DIV><xsl:text> [template: </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text> outputs </xsl:text>
<xsl:apply-templates/ >
<xsl:text> ]</xsl:text> </DIV>
</xsl:template>
</xsl:stylesheet>
It doesn't display like :
[template: firstName outputs Joe]
[template: surname outputsSmith ]
instead this:
John Smith.
What's wrong.
FURTHERMORE
Is there any other browser
in Unix?(I have got IE5.0 in Windows,and it's ok!)
|