This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Get Date and Hour of file XML


Paulo,
There is no function to get the date/time of a file in xslt. But you can
use the output from dirtoxml like this
<xsl:value-of
select="document('dirtoxml.xml')/path/to/file/@DateCreated" />

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of 
> Paulo Henrique S. Bermejo
> Sent: 03 September 2001 22:32
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] Get Date and Hour of file XML
> 
> 
> Thanks,
> 
> But don't have a form to get a date/hour of a file in pure 
> XSLt ??? I know that the function document possibility a get 
> a document, but and the properties as date/hour??
> 
> Paulo
> 
> 
> ----- Original Message -----
> From: Chris Bayes
> To: xsl-list@lists.mulberrytech.com
> Sent: Monday, September 03, 2001 5:39 PM
> Subject: RE: [xsl] Get Date and Hour of file XML
> 
> 
> Paulo,
> Have a look at dirtoxml on my site
> 
> Ciao Chris
> 
> XML/XSL Portal
> http://www.bayes.co.uk/xml
> 
> 
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Paulo 
> > Henrique S. Bermejo
> > Sent: 03 September 2001 21:04
> > To: xsl-list@lists.mulberrytech.com
> > Subject: [xsl] Get Date and Hour of file XML
> >
> >
> > Hello All,
> >
> > I need to get the date and hour of my file XML em my sheet 
> XSLT. This 
> > is to to print in report the date and hour of generation of XML and 
> > this value can't to stay in grammar XML (not declared in DTD). If 
> > someone just know, please.
> >
> > Cheers,
> >
> > Paulo Bermejo
> > Florianópolis/SC - Brazil
> >
> >
> >
> >  XSL-List info and archive:  
> http://www.mulberrytech.com/xsl/xsl-list
> >
> >
> 
> 
>  XSL-List info 
> and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]