[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: compute an xpath expression that match a resulted

Subject: Re: compute an xpath expression that match a resulted node
From: "Majirus FANSI" <jmfansi@xxxxxxxxxxx>
Date: Sat, 16 Oct 2004 14:08:02 +0200
xsl compute
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 !


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.