xsl-list
[Top] [All Lists]

[xsl] Need help combing two elements

2009-03-26 17:44:32
Hi everyone,

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?

Thanks!


--~------------------------------------------------------------------
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>
--~--