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 got the following error
"To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function."
when i save XSLT.
i checked that if no county found then need to get all records.
<xsl:variable name="matchedNodes"> <xsl:choose> <xsl:when test="count($currentPage//* [@isDoc][resourceCounty=$county][@level='3']) = 0"> <xsl:value-of select="$currentPage//* [@isDoc] [@level='3']" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$currentPage//* [@isDoc][resourceCounty=$county][@level='3']"/> </xsl:otherwise> </xsl:choose> </xsl:variable>
when i Edit this topic i got error
"Error parsing XSLT file: \xslt\forum-commentsList.xslt"
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function.
Hello,
I got the following error
"To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function."
when i save XSLT.
i checked that if no county found then need to get all records.
<xsl:variable name="matchedNodes">
<xsl:choose>
<xsl:when test="count($currentPage//* [@isDoc][resourceCounty=$county][@level='3']) = 0">
<xsl:value-of select="$currentPage//* [@isDoc] [@level='3']" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$currentPage//* [@isDoc][resourceCounty=$county][@level='3']"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
when i Edit this topic i got error
"Error parsing XSLT file: \xslt\forum-commentsList.xslt"
is working on a reply...