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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.