This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: Javascript error


MSXML SDK could be useful as well
http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms
dn-files/027/000/542/msdncompositedoc.xml



-----Ursprüngliche Nachricht-----
Von: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]Im Auftrag von cutlass
Gesendet: Donnerstag, 30. August 2001 11:17
An: xsl-list@lists.mulberrytech.com
Betreff: Re: [xsl] Javascript error


take a look at

http://www.exslt.org/math/functions/abs/index.html

the msxsl sheet at the bottom of the page is a simple example, u would then
import this sheet into your stylesheet.

take a look here
http://www.dpawson.co.uk/xsl/sect4/N9745.html


cheers, jim fuller

----- Original Message -----
From: "Karlo" <pcaspian@iafrica.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, August 30, 2001 10:09 AM
Subject: [xsl] Javascript error


> 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
>


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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]