Hi I have this code
<xsl:choose>
<xsl:when test="string-length(externalurl) > 0">
<xsl:attribute name="href">
<xsl:value-of select="externalurl" />
</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<!--<xsl:value-of select="externalurl" />-->
</xsl:otherwise>
</xsl:choose>
Now the page path gets appended to the externalurl value like:
http://www.site.com/pages/www.externalurl.com
I just want to set www.externalurl.com to the href. How do I do this? Thanks.