xsl-list
[Top] [All Lists]

Concat function - URGENT pls

2003-03-10 16:21:57

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(
                                        
                                                &lt;value-of
select="//MovementDate">&lt;xsl:value-of>,'@', &lt;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



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