[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:script - again!

Subject: RE: xsl:script - again!
From: Zeynep Gunal <z.gunal@xxxxxxxxxxxxxxxx>
Date: Fri, 23 Feb 2001 16:03:10 +0100
xalan xsl script
Xalan? This is the command:

java -cp xerces.jar;xalan.jar org.apache.xalan.xslt.Process -IN test.xml
-XSL test.xsl -OUT fls.txt

Zeynep


-----Original Message-----
From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
Sent: Friday, February 23, 2001 3:43 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  xsl:script - again!


I think we need to know your processing environment.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of 
> Zeynep Gunal
> Sent: 23 February 2001 12:58
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  xsl:script - again!
> 
> 
> Hi,
> 
> I have a tiny javascript that I am trying to embed in my XSLT 
> sheet (XSLT
> 1.1) - no luck!
> 
> This is what I have:
> 
>           <xsl:template name="get-date">
>               <xsl:value-of select="user:GetDateTime()" />
>           </xsl:template>
> 
>           <xsl:script language="javascript"
>                         implements-prefix="user">
>               <![CDATA[
>               function GetDateTime()
>               {
>                 return "hello";
>               }
>               ]]>
>           </xsl:script>
> 
> 
> This is the error I get:
> 
> 
>           org.xml.sax.SAXException: Instance method call to
>           method GetDateTime requires an Object instance as 
> first argument
> 
> What does that mean? What am I doing wrong?
> 
> Cheers,
> 
> Zeynep
> 
>  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.