Sign In/My Account | View Cart  
advertisement

Article:
 Diagramming the XML Family
Subject: Can not convert #RTREEFRAG to a NodeList!
Date: 2003-10-13 00:24:28
From: Daniel Zambonini
Response to: Can not convert #RTREEFRAG to a NodeList!

I used Sablotron, which luckily lets me get away with a few things that I shouldn't...


If you're using Xalan (which I assume you are from the error message), you'll need to include the xalan namespace, and wrap a


xalan:node-set(...)


function around where the XSLT uses 'result tree fragments' (most of the XSLT parameters and variables in the stylesheet). Similarly, if you're using xt or saxon, the functions are called xt:node-set or saxon:node-set.


For an example, see:


http://xml.apache.org/xalan-c/extensionslib.html#nodeset


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • Can not convert #RTREEFRAG to a NodeList!
    2005-03-04 02:17:03 RalphHodgson

    Using


    <xsl:variable name="" select=""/>


    instead of


    <xsl:variable name="">
    <xsl:value-of select=""/>
    <xsl:variable>


    fixes this problem for me although it only became an issue for me at JDK1.5.


Sponsored By: