string substition

Subject: string substition
From: thomask@xxxxxxxxxxxx (Thomas Kwan)
Date: Mon, 14 Jun 1999 09:55:21 -0700
hi there,

Does anyone know how to do string substition in XSL? I
have a XML object as follows:

<channelName>
hello there
</channelName>

In my XSL template, I will use channelName in 2 different
contexts. Firstly, I want to print out the channel name. This
is very easy and can be achieved by doing <xsl:value-of
select="channelName"/>
In my second case, I want to use it in URL. I need
to escape the space with %20. Any pointer?

thanks


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


Current Thread