Dear wendell,
I thank you very much for yours suggestions.
I think that in my case, //*[.=$nodeset] should work provided that the '='
operator allow also comparison between nodes sets.
To illustrate the problem, what would you want back if
$nodeset = <author>Michael Kay</author>
and your input data had
<book ISBN= "0-7645-6909-0">
<title>XSLT programmer's reference 3e </title>
<author>Michael Kay</author>
</book>
<book ISBN= "0-7645-6909-1">
<title>XSLT programmer's Guide to British Beers and Ales</title>
<author>Michael Kay</author>
</book>
what would you want as an XPath expression?
i would want //*[set:has-same-node(., $nodeset)], where has-same-node() is
function extension difined by exslt.org.
Regards,
majirus
_________________________________________________________________
MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et
gratuitement avec vos amis !