Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jignesh 31 posts 51 karma points
    Jan 19, 2012 @ 11:00
    Jignesh
    0

    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>

  • Jignesh 31 posts 51 karma points
    Jan 19, 2012 @ 11:02
    Jignesh
    0

    when i Edit this topic i got error

    "Error parsing XSLT file: \xslt\forum-commentsList.xslt"

Please Sign in or register to post replies

Write your reply to:

Draft