Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
<xsl:if test="$currentPage/@website != ''"> Website: <a href="{$website}" target="blank" /><xsl:value-of select="$website"/></a> </xsl:if>
The parser is moaning about the '<a/>' closing tag, when it wants </xsl:if>
thanks for any advice
Hi,
seems like you have a / in your <a> declaration (right after target=blank). Remove that and it'll parse fine.
Peter
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
what is wrong with this statement?
<xsl:if test="$currentPage/@website != ''">
Website: <a href="{$website}" target="blank" /><xsl:value-of select="$website"/></a>
</xsl:if>
The parser is moaning about the '<a/>' closing tag, when it wants </xsl:if>
thanks for any advice
Hi,
seems like you have a / in your <a> declaration (right after target=blank). Remove that and it'll parse fine.
Peter
is working on a reply...