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

Re: XT win32 extension functions

Subject: Re: XT win32 extension functions
From: James Clark <jjc@xxxxxxxxxx>
Date: Fri, 06 Aug 1999 17:59:34 +0700
xt.exe james clark
The example is out of date.  It should use
"extension-function-available" rather than "function-available".

Linda van den Brink wrote:
> 
> Hi,
> 
> I'm using the win32 executable of XT and have been trying to use one of the
> extension functions. I copied the example James Clark has on his website to
> test if this will work, it appears it doesn't. I get the message "no such
> functions".
> 
> Does anyone know if it's supposed to be possible to use James' extension
> functions with XT.exe, or should I use XT proper?
> 
> Here's the stylesheet that produces the 'no such function' message:
> 
> <xsl:stylesheet  xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
>   xmlns:date="http://www.jclark.com/xt/java/java.util.Date"
>   xmlns="http://www.w3.org/TR/REC-html40"  result-ns="">
> 
> <xsl:template match="/">
>   <html>
>     <xsl:if test="function-available('date:to-string') and
> function-available('date:new')">
>       <p><xsl:value-of select="date:to-string(date:new())"/></p>
>     </xsl:if>
>   </html>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
> Linda
> 
>  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.