Re: [xsl] forming a link w/ arguments?

Subject: Re: [xsl] forming a link w/ arguments?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Nov 2001 12:34:34 GMT
> <A HREF="">My link</A>

well you can't generate that of course as that is not well formed HTML
or XML but

<A HREF=";search_id=6&amp;page=1">My link</A>

is OK, You can generate that as

<xsl:attribute name="HREF">
<xsl:value-of select="BASE"/>
<xsl:for-each select="ARG">
<xsl:value-of select="@NAME"/>=<xsl:value-of seelct="@VALUE"/>
<xsl:if test="position() &lt; last()">&amp;</xsl:if>
<xsl:value-of select="TEXT"/>


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread