Re: [xsl] xsl:script

Subject: Re: [xsl] xsl:script
From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx>
Date: Wed, 06 Mar 2002 14:41:03 +0000
Hi  Alia
You can start working with the following declaration
_________________________________________________________
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
<xsl:script></xsl:script>
<xsl:template match="/">
-- Your XSL Body -----
</xsl:template>
</xsl:stylesheet>
____________________________________________________

as Jeni says , xsl:script may not be used in namespace
http://www.w3.org/1999/XSL/Transform
HTH
---Laura---
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "Alia Mikati" <Aliam@xxxxxxxxxxxxxxxxxxxx>
CC: "XSL-List@xxxxxxxxxxxxxxxxxxxxxx" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [xsl] xsl:script
Date: Wed, 6 Mar 2002 14:07:36 +0000

Hi Alia,

> I get this error msg in my xsl styelsheet:
> Keyword xsl:script may not be used in namespace
> http://www.w3.org/1999/XSL/Transform.
> I'm using IE5 and I installed Microsoft parser to update the built-in
> parser of IE. And I'm using vbscript.
> What should I do so that I can use xsl:script?

xsl:script comes from the XSLT 1.1 Working Draft. XSLT 1.1 isn't ever
going to be a Recommendation, so there are few processors that
implement it, two exceptions being Saxon and jd.xslt.

MSXML3 and MSXML4 implement XSLT 1.0. Both have something very similar
to xsl:script, namely msxsl:script (in the namespace
urn:schemas-microsoft-com:xslt).

So you should either use msxsl:script, or switch to a processor that
supports xsl:script.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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






_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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



Current Thread