[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A general question (Mozilla & xsl)

Subject: Re: A general question (Mozilla & xsl)
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>
Date: Thu, 21 Feb 2002 08:54:18 +0100
mozil name
For me there is no difference between IE 6 and Mozilla 0.9.7.

Regards,

Joerg

> How do I use a XSLT in Mozilla 0.9.8 Win 2000
>
> In IE
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="files.xsl"?>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rss="http://purl.org/rss/1.0">
> <rss:channel rdf:about="basedir">
> <rss:title>various files</rss:title>
> <rss:link>http://www.somewhere.com/</rss:link>
> <rss:description>my site description</rss:description>
> </rss:channel>
> <rss:item
rdf:about="urn:newsml:pressnet.or.jp:20010516:topicset.iptc-format-nsk:1">
> <rss:title>my first file</rss:title>
> <rss:link>myfirstfile.html</rss:link>
> </rss:item>
> </rdf:RDF>
>
> works but in Mozilla 0.9.8 under Win 2000 it just gives me the text
fields.
> my stylesheet is below
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:rss="http://purl.org/rss/1.0">
> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
>
> <xsl:variable name="root" select="/rdf:RDF/rss:channel/rss:link"/>
>
> <xsl:template match="/">
> <html>
> <body>
> <h1>CD files</h1>
> <ol>
> <xsl:apply-templates/>
> </ol>
> </body>
> </html>
> </xsl:template>
>
> <xsl:template match="rss:channel/rss:link">
> <a href="{$root}"><xsl:value-of select="$root"/></a>
> </xsl:template>
>
> <xsl:template match="text()"/>
> <xsl:template match="rss:item/rss:link">
> <li>
> <a href="{$root}{current()}"><xsl:value-of select="current()"/></a>
> </li>
> </xsl:template>
>
> </xsl:stylesheet>
>
> Thanks in advance
>
> Edward


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.