I am trying to implement an extension function that returns a set of nodes to be used by <xsl:for-each> to iterate over.
I am using Xalan 1.7 with Xerces 2.4. I am returning a list of nodes (of a class derived from XalanNode,) but the body of <xsl:for-each> is executed only once, even when there are more than one nodes in the returned list.
Has anyone written such an extension function? If so, could you share the structure that Xalan expects for a node-set from an Extension Function.
Thanks,
srini
