Subject: Calling functions in XSL From: Mallikarjuna Sangappa <malliks@xxxxxxxxxxx> Date: Thu, 10 Jun 1999 14:38:26 PDT |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" indent-result="no" default-space="strip"> <xsl:template match="/booklist"> <xsl:value-of select="book/code"/> <xsl:value-of select="book/code/@codevalue"/> <xsl:value-of select="book/category"/> <xsl:value-of select="jjc:currentDate()"/> </xsl:template>
function currentDate() { return Date().toString() }
<p>When multiple alternative implementations are provided, it is up to the XSLT processor to determine which to use.</p>
When I compile this using XT I'm getting the following error file:/C:/Mallik/XSLSamples/booklist.xsl:9: undefined prefix
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: FW: Inquiry: XSL Processor Engi, Scott_Boag/CAM/Lotus | Thread | XSL-basics, Mallikarjuna Sangapp |
RE: how to display XML nodes having, WorldNet | Date | XSL-basics, Mallikarjuna Sangapp |
Month |