OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] date:date-time()


> -----Original Message-----
> From: leeloo5e79-docbook@yahoo.de 
> 
> <xsl:call-template name="datetime.format">
>             <xsl:with-param name="date" select="date:date-time()"/>
>             <xsl:with-param name="format" select="'d.m.Y'"/>
>           </xsl:call-template>
> 
> This works very well with FOP 0.20.5. Now, I'm trying FOP 
> 0.92beta. But now this doesn't work. FOP 0.92 does not know 
> the prefix date.


FOP itself does not know the prefix because it does not do any
transformation, it only processes the result of the transformation. However,
the FOP distribution does include the Xalan XSLT processor, which is used
"behind the scenes" when FOP is run using the -xml and -xsl options. I guess
that is how you run FOP.

You could try to run separate transformation and formatting stages. Then you
could use another XSLT processor (for example Saxon) and see if it works
better. See http://xmlgraphics.apache.org/fop/0.92/running.html.

/MJ




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]