<xsl:choose>
<xsl:when test="contains($full_url, '?')">
<xsl:value-of select="$full_url"/>&WT.gmini=true&WT.apsearch=<xsl:value-of disable-output-escaping="yes" select="$html_escaped_query"/><xsl:text disable-output-escaping="yes">&WT.searchclick=product_image&q uot;></xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$full_url"/>?WT.gmini=true&WT.apsearch=<xsl:value-of disable-output-escaping="yes" select="$html_escaped_query"/><xsl:text disable-output-escaping="yes">&WT.searchclick=product_image&q uot;></xsl:text>
</xsl:otherwise>
</xsl:choose>
Well, actually I know the problem is the ? in the second line because if I change that to some other text that appears in the full_url then it works fine. Why can't I search for a ? in a url? Or how do I do it properly?
Thanks.
Al Dugan
www.atomicpark.com