You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Meena <me...@wipro.com> on 2002/02/12 10:14:25 UTC
Getting system-time
Hi,
Is there anyway to find the time taken to run an xsl file(something that will give the overall time for execution at the end of completion of the program)
Regds,
Meena
Re: Getting system-time
Posted by Meena <me...@wipro.com>.
Hi,
I tried using the concept given below
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
extension-element-prefixes="date">
<xsl:template match="xyz">
<xsl:message>TIME:<xsl:value-of select="date:date-time()"/></xsl:message>
.
.
.
</xsl:template>
But, it gives an error as follows:
The URI http://exslt.org/dates-and-times does not identify an external Java Class
How could i eliminate this error?
Regds,
Meena
----- Original Message -----
From: Chuck Paussa
To: fop-user@xml.apache.org
Sent: Tuesday, February 12, 2002 9:26 PM
Subject: Re: Getting system-time
Meena,
You'll have to use an XSL extension function and use an XSL processor that implements that function.
The most standard date implementation is the one offered by EXSLT.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date">. . .<xsl:value-of select="date:date-time()"/>The only xsl processor that implements this internally that I know of is Saxon by Mike Kay
Chuck
Meena wrote:
Hi,
Is there anyway to find the time taken to run an xsl file(something that will give the overall time for execution at the end of completion of the program)
Regds,
Meena
----------------------------------------------------------------------------**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limitedis 'privileged' and 'confidential' and intended for use only by theindividual or entity to which it is addressed. You are notified that anyuse, copying or dissemination of the information contained in the E-MAILin any manner whatsoever is strictly prohibited. ********************************************************************
Re: Getting system-time
Posted by Chuck Paussa <Ch...@systems.dhl.com>.
Meena,
You'll have to use an XSL extension function and use an XSL processor
that implements that function.
The most standard date implementation is the one offered by EXSLT
<http://www.exslt.org/date/index.html>.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
extension-element-prefixes="date">
. . .
<xsl:value-of select="date:date-time() <http://www.exslt.org/date/functions/date-time/index.html>"/>
The only xsl processor that implements this internally that I know of is Saxon <http://saxon.sourceforge.net/> by Mike Kay
Chuck
Meena wrote:
> Hi,
>
> Is there anyway to find the time taken to run an xsl file(something
> that will give the overall time for execution at the end of completion
> of the program)
>
>
>
> Regds,
>
> Meena
>
>
>------------------------------------------------------------------------
>
>**************************Disclaimer************************************
>
>
>
>Information contained in this E-MAIL being proprietary to Wipro Limited
>is 'privileged' and 'confidential' and intended for use only by the
>individual or entity to which it is addressed. You are notified that any
>use, copying or dissemination of the information contained in the E-MAIL
>in any manner whatsoever is strictly prohibited.
>
>
>
> ********************************************************************
>