OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Is there any good browser in Unix?

[ 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!)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS