Xalan also supports this sort of function using builtin java namespace
extension.

see http://xml.apache.org/xalan-j/extensions.html#java-namespace

Trev



                                                                                
                            
                    Chuck Paussa                                                
                            
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                    
                    s.dhl.com>                 cc:                              
                            
                                               Subject:     Re: Getting 
system-time                         
                    02/13/02 01:56 AM                                           
                            
                    Please respond to                                           
                            
                    fop-user                                                    
                            
                                                                                
                            
                                                                                
                            




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
     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.



      ********************************************************************





Reply via email to