XT win32 extension functions
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format