xsl-list
[Top] [All Lists]

Cannot use result tree fragment

2003-06-18 09:28:33
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



<Prev in Thread] Current Thread [Next in Thread>