Hi Harsha:
Give this a shot:
<xsl:element name="MovementDateTime">
<xsl:value-of select="concat(PODDate, '@', PODTime, ':00')"/>
</xsl:element>
Assuming that the current element is the parent of your two elements
below, this will give you the results your looking for.
For your other question, yes, concat takes any number of parameters.
HTH!
Dion
-----Original Message-----
From: Challa, Harsha [mailto:hchalla(_at_)newbreed(_dot_)com]
Sent: Monday, March 10, 2003 3:22 PM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
I give up
I am having trouble using the concat function
I am just forming a date time element by selecting values of date and
time
elements
I am getting all sorts of errors, syntactical
Source
<PODDate>3/10/2003</PODDate>
<PODTime>9:14</PODTime>
Needs to be transformed to
<MovementDateTime>03/17/2003(_at_)09:14:0</MovementDateTime>
<xsl:element name="MovementDateTime">
<xsl:value-of
select= "concat(
<value-of
select="//MovementDate"><xsl:value-of>,'@', <value-of
select="//MovementTime"></xsl:value-of>,':00')"/>
</xsl:element>
Any help will be appreciated,
BTW, Can I concat any number of strings with the concat function?
thanks in advance
Harsha
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list