Re: [xsl] Javascript error

Subject: Re: [xsl] Javascript error
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 30 Aug 2001 17:54:57 +0200
Karlo <pcaspian@xxxxxxxxxxx> wrote:

> Hi, I have the following XSL sheet. I get the error "Reference to 
> undeclared namespace prefix: 'ms'. " Im running it on IE 6.
[snip]
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:js="javascript:my-extensions">
> 
> <msxml:script
> 		 xmlns:msxml="urn:schemas-microsoft-com:xslt"
> 		 language="VBScript"
> 		 implements-prefix="ms"          ******ERROR LINE
> 		 >
[snip]

You have declared a prefix "js". The prefix "ms" is, as the error
message duly reports, undeclared. Probly you meant either
  xmlns:ms="javascript:my-extensions">
or 
 implements-prefix="js"

HTH
J.Pietschmann

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


Current Thread