[xsl] Cannot use result tree fragment

Subject: [xsl] Cannot use result tree fragment
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2003 16:28:33 +0000
i want to get all "ht"  nodes from different  external documents,so i
use in my xsl file:

<xsl:for-each select="//doccontent/chapmod">
<xsl:variable name="vchapmod" select="current()"/>
<xsl:variable name="vchapmod1">
<xsl:value-of
select="document(concat(string($vchapmod/attribute::docref),'.xml'))"/>
</xsl:variable>
<xsl:for-each select="$vchapmod1//ht">

but i get this error :
Error in Xpath expression,Cannot use result tree fragment
the error is for <xsl:for-each select="$vchapmod1//ht">

why , and any other suggestion
Thanks


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


Current Thread