[xquery-talk] selection

fatma helmy fatmahelmy2000 at yahoo.com
Sun Feb 5 15:22:47 PST 2006


dear all
suppose i have this xml file book.xml
<bookstore>
<book>
	<title>seven years in trenton</title>
	<price>12</price>

</book>
<book>
	<title> history of trenton</title>
		<price> 55</price>
</book>
</bookstore>

when I issue the following statement
let $j:= doc("book.xml")//book [price > 12]
$j discarded the book with 12 price but my problem is
that $j now is standing at node book, I want $j to
discard the book with 12 and stop at bookstore(the
root)




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the talk mailing list