Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Building Dynamic Urls!! Building Dynamic Urls!!To: NULL Date: 5/7/2005 1:14:00 AM Hi all,
I am wanting to build dynamic urls in xslt by using string concatenation,
unless there is a better way. My stylesheet will be sent a $url parameter to
provide the base of the url. From their my logic is as follows:
<xsl:if test=â€child::areaâ€>
Building_url = $url and “?area=†and <xsl:value-of select=â€areaâ€/>
</xsl:if>
<xsl:if test=â€child::actionâ€>
Building_url = $url and “&action=†and <xsl:value-of select=â€actionâ€/>
</xsl:if>
<xsl:if test=â€child::pageâ€>
Building_url = $url and “&page=†and <xsl:value-of select=â€pageâ€/>
</xsl:if>
I as I understand it, xsl variables can’t be changed once given a value.
So what would be the best way to go about building these dynamic urls.
Help appreciated!
Cheers,
Adam
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
