This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Convert to a Nodelist


Hello All,

Xalan

I'm have a variable

<xsl:variable name="peerSelect">
    <xsl:if test="$peerSearch = 'NextYear' ">
        ComparisonPe/Yr2
    </xsl:if>
    <xsl:if test="$peerSearch = 'NextQuarter' ">
        ComparisonPe/Qtr2
    </xsl:if>
</xsl:variable>

and I want to build the nodeset.
<xsl:value-of select="$peerSelect/PEER1" />

but I get an error
org.apache.xalan.xslt.XSLProcessorException: Can not convert #RTREEFRAG to a
NodeList!
How can I convert this to a NodeList?

thx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]