This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: concat of two strings to create an elem


Mala Ramakrishnan wrote:
>                                     <!-- need to prepend
> http://www.speedtrak.com:8900/servlet/RouterServlet here -->
>                                     <xsl:value-of select="@url"/>

Easiest way:

<xsl:value-of select="concat('http://www.speedtrak.com:8900/servlet/RouterServlet',@url)"/>

If this isn't working for you and you are using MSXML/IE5, consult
http://www.netcrucible.com/xslt/msxml-faq.htm

A less efficient way:

<xsl:text>http://www.speedtrak.com:8900/servlet/RouterServlet</xsl:text>
<xsl:value-of select="@url"/>

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]