[xsl] xsl:script tag not being allowed

Subject: [xsl] xsl:script tag not being allowed
From: Vedu Hariths <vhariths@xxxxxxxxx>
Date: Fri, 11 Oct 2002 06:52:51 -0700 (PDT)
Hi all,
This is how my code looks (copied and pasted from
Michael Kay's book, pg 100)

<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:Date="java:java.util.Date"> 
<xsl:script implements-prefix="Date" language="java"
src="java.util.Date" />
<xsl:variable name="Date"
select="Date:to-string(Date:new())" />
</xsl:stylesheet>


This is what IE(6) spits out:
Keyword xsl:script may not be used in namespace
http://www.w3.org/1999/XSL/Transform. 

I ofcourse need the Java part for other functions but
I was just trying this out to begin with and I wonder
what I am doing wrong.

Thanks in advance,
Vedu



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

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


Current Thread