Mark Vakoc wrote:
This was a bug fixed long ago.  The key() function should only return matches
from the same source document as the context node.


<xsl:for-each select="str:split(@ref,' ')">
       <xsl:for-each select="key('point',.)">
       (...)
       </xsl:for-each>
</xsl:for-each>


str:split creates a new document (xslt rvt) so the key() function will not find
any matches from your original.  Run xsltproc --verbose and see the messages
about context document changing.  This is per the spec.  There are workarounds
for accomplishing this, do a google search, but libxslt is doing the correct 
thing.

What do you propose as keywords for the google search ? If you know a workaround why don't you propose something ?

S.
--
e-mail : [EMAIL PROTECTED]
www : http://www.dma.utc.fr/~mottelet

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to