xsl-list
[Top] [All Lists]

RE: [xsl] Problem with separate date format.

2009-08-17 12:30:33

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(_at_)gmail(_dot_)com] 
Sent: 17 August 2009 17:22
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>