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
Hello,
I am trying to recursively find a property that is populated. Using the below I can get a true or false back but I don't seem to be able to get back the actually value. Can someone help please?
<xsl:variable name="config2" select="$currentPage/ancestor-or-self::*[@isDoc]/twitter !=''" />
Hey try:
<xsl:variable name="config2" select="$currentPage/ancestor-or-self::*[@isDoc][normalize-space(twitter)]/twitter" />
or maybe:
<xsl:variable name="config2" select="$currentPage/ancestor-or-self::*[@isDoc and twitter != '']/twitter" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Conditional Select
Hello,
I am trying to recursively find a property that is populated. Using the below I can get a true or false back but I don't seem to be able to get back the actually value. Can someone help please?
<xsl:variable name="config2" select="$currentPage/ancestor-or-self::*[@isDoc]/twitter !=''" />
Hey try:
or maybe:
is working on a reply...