Subject: Re: [xsl] Need help combing two elements From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 26 Mar 2009 18:29:30 -0400 |
Is it possible to combine two elements using XSL so that they display as one?
Here is a sample of my XML file...
<Row Type="Data"> <Cell longDate="1143122100140" ChangeContext="FID=50020" ShowLink="true" Status="Normal">Mar 23, 2006</Cell> <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal">08:44</Cell> </Row>
As you can see the first cell is a date and the second is a time, I need to combine and also convert that date to yyyy-MM-dd HH:mm format.
So the example above would end up displaying like 2006-05-23 08:44. Well the time is fine, just the date needs to be converted.
Is this possible to do in XSL?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Need help combing two element, Fatbob | Thread | Re: [xsl] Need help combing two ele, vasu chakkera |
Re: [xsl] Using two strings with st, Wendell Piez | Date | Re: [xsl] Compound filter in for-ea, Wendell Piez |
Month |