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
Hi guys,
Try to find out how to check some Document Type Alias's value in new schema
Eg: old syntax
<xsl:for-each select="$currentPage/ancestor-or-self::node [@level=$level]/node [string(data [@alias='NaviShow']) = 'MenuTop']">
I tried this way but it did not work
<
xsl:for-each select="String($currentPage/ancestor-or-self::*[@level = $level]/*[name()='NaviShow'])= 'MenuTop'">
Thanks in advance,
Peng
Hi Peng,
not sure but try this way:
<xsl:for-each select="$currentPage/ancestor-or-self::*[@level = $level]/NaviShow/*[name()='MenuTop']">
Sorry, Gerty. It did not work for me.
Found this way working for me:
xsl:for-each select="$currentPage/ancestor-or-self:: *[@level=$level]/ *[@isDoc and string(*[name()='NaviShow']) = 'MenuTop']">
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to check some Document Type Alias 's value?
Hi guys,
Try to find out how to check some Document Type Alias's value in new schema
Eg: old syntax
<xsl:for-each select="$currentPage/ancestor-or-self::node [@level=$level]/node [string(data [@alias='NaviShow']) = 'MenuTop']">
I tried this way but it did not work
<
xsl:for-each select="String($currentPage/ancestor-or-self::*[@level = $level]/*[name()='NaviShow'])= 'MenuTop'">
Thanks in advance,
Peng
Hi Peng,
not sure but try this way:
Sorry, Gerty. It did not work for me.
Found this way working for me:
<
xsl:for-each select="$currentPage/ancestor-or-self:: *[@level=$level]/ *[@isDoc and string(*[name()='NaviShow']) = 'MenuTop']">
is working on a reply...