Subject: RE: Problem with separate date format.
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 17 Aug 2009 17:29:58 +0100
|
Yes, you can extract the parts of the string using the substring() function.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
> -----Original Message-----
> From: Jack [mailto:jacenty87@xxxxxxxxx]
> Sent: 17 August 2009 17:22
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Problem with separate date format.
>
> Hello,
> I have got problem with separate date in following format:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Root>
> <Time>2009-08-12 16:24</Time>
> </Root>
>
> I would like get following output:
>
> ----------------------------------
> Hours | Minutes| Day |Month| Year|
> ------|--------|-----|-----|-----|
> 16 | 24 | 12 | 08 |2009 |
>
> It is possible get table like this in XSLT v1.0 ?
>
>
> Kind regards,
> Jacek
|