Hi,
do you have applied successfuly
<xsl:apply-templates select="yournode"></xsl:apply-templates>
?
It seems, that this is my problem with redering xml with moz!!
Cheers,
Hans
> -----Ursprüngliche Nachricht-----
> Von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]Im Auftrag von Thomas B.
> Passin
> Gesendet: Donnerstag, 30. Mai 2002 17:02
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: Re: AW: Netscape XSLT ?
>
>
> Using Mozilla 1.0RC2 on Win2000, the following stylesheet
> creates a bit of
> javascript. The javascript executes properly in both Moz and
> IE6. The
> file and stylesheet were loaded from files in the filesystem,
> not from a
> server.
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:output method="html" encoding="iso-8859-1"/>
>
> <xsl:template match="/">
> <html>
> <head>
> <script language='javascript'>
> function test(){alert('xxx')}
> </script>
>
> <title>test</title>
> </head>
> <body>
> <a href='javascript:test()'>
> a link
> </a>
> </body>
> </html>
> </xsl:template>
>
> </xsl:stylesheet>
>
> I'd say javascript is now usable from transformed files in
> Moz, although
> this is just a small test.
>
> Cheers,
>
> Tom P
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|