This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Javascript error
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Javascript error
- From: Karlo <pcaspian at iafrica dot com>
- Date: Thu, 30 Aug 2001 10:09:37 +0100
- References: <000601c13126$f2be2370$a301a8c0@3d38kw1n0b1udc>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi, I have the following XSL sheet. I get the error "Reference to
undeclared namespace prefix: 'ms'. " Im running it on IE 6.
Essentially I am trying to make use of Javascript in my XSL file. Anyone
know of any good examples on the net ?
Thank you
Karlo
<?xml version="1.0"?>
<!-- File Name: showpools.xsl -->
<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
>
Function ToMillimetres(inches)
ToMillimetres = inches * 25.4
End Function
</msxml:script>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list