RE: [docbook-apps] dbtimestamp PI function

From
Mauritz Jeanson <>
Date
2004-09-17T14:57:48+00:00
ID
Thread
RE: [docbook-apps] dbtimestamp PI function
> -----Original Message-----
> From: Jirka Kosek 

> Lars Bjerges wrote:
> 
> > It seems that the "function-available" does not really work 
> here or am I missing something?
> 
> It seems to me as a Xalan bug. You should report and consult 
> it on Xalan mailing list.


Yes, it seems like a bug. It works with Xalan if you use the exact name of
the underlying Java method. 

<!-- OK with Saxon and xsltproc -->
<xsl:if test="function-available('date:date-time')">  

<!-- OK with Saxon and Xalan -->
 <xsl:if test="function-available('date:dateTime')"> 

Tested with:
Saxon 6.5.3
Xalan 2.6.0
xsltproc 1.1.8


/MJ