|
Subject: Re: [xsl] Building Dynamic Urls From: George Cristian Bina <george@xxxxxxx> Date: Sat, 07 May 2005 11:58:11 +0300 |
on
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<area>1</area>
<action>2</action>
<page>3</page>
</doc>will give: http://www.example.com/test?area=1&action=2&page=3
Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
> And in this case one would use <xsl:choose> rather than <xsl:if>
That was my first impulse too, but no, that will not add action if area is present.
Since it is an URL it should have only 1 "?", which denotes the start of the query string. So only 1 of those choices should be added anyway...ergo the <xsl:choose>
--A
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Building Dynamic Urls, Aron Bock | Thread | RE: [xsl] Building Dynamic Urls, Michael Kay |
| RE: [xsl] Building Dynamic Urls, Michael Kay | Date | RE: [xsl] Building Dynamic Urls, Michael Kay |
| Month |