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
I have this line of XSLT
<a href="{$currentPage/data [@alias ='downloadUrl']}" title="{$currentPage/@nodeName}">Download Information</a>
If the Download URL is empty/not set for the node, I dont want to display the link. How can I stop this from being displayed?
Got it...
<xsl:if test="$currentPage/data [@alias = 'downloadUrl'] !=''">
</xsl:if>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to stop node info from displaying
I have this line of XSLT
<a href="{$currentPage/data [@alias ='downloadUrl']}" title="{$currentPage/@nodeName}">Download Information</a>
If the Download URL is empty/not set for the node, I dont want to display the link. How can I stop this from being displayed?
Got it...
<xsl:if test="$currentPage/data [@alias = 'downloadUrl'] !=''">
<a href="{$currentPage/data [@alias ='downloadUrl']}" title="{$currentPage/@nodeName}">Download Information</a>
</xsl:if>
is working on a reply...