Subject: RE: Get Date and Hour of file XML
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Mon, 3 Sep 2001 23:02:42 +0100
|
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@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Paulo Henrique S. Bermejo
> Sent: 03 September 2001 22:32
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: 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@xxxxxxxxxxxxxxxxxxxxxx
> Sent: Monday, September 03, 2001 5:39 PM
> Subject: RE: 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@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Paulo
> > Henrique S. Bermejo
> > Sent: 03 September 2001 21:04
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: 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
|