You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/09/04 14:34:33 UTC

DO NOT REPLY [Bug 11409] - Backward compatibility with 1.1 "Cannot convert a #RESULT_TREE_FRAG to a node set"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11409

Backward compatibility with 1.1 "Cannot convert a #RESULT_TREE_FRAG to a node set"





------- Additional Comments From josef.zellner@smartstream-md.com  2002-09-04 12:34 -------
just replace your code with the following:

<xsl:variable name="test">
	<fake>
		<xsl:copy-of select="XPath-expression-here"/>
	</fake>
</xsl:variable>
<xsl:variable name="node-set" select="xalan:nodeset($test)"/>
<xsl:copy-of select="$node-set"/>
<xsl:value-of select="count($node-set)"/>