Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
xquery from xml file
jony gonzales
Greenhorn
Posts: 1
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
I would like to find all libraries with similar number of books availbles and as many as empty shelves as the library called "Oxford".
<librarycollections> <library> <id>1</id> <library_name> oxford <library_name> <name>DBMS</name> <availble_books>8</availble_books> <empty_shelves>5</empty_shelves> </library> <librarycollections> <library> <id>2</id> <library_name> ucl<library_name> <name>MS</name> <availble_books>2</availble_books> <empty_shelves>5</empty_shelves> </library> <librarycollections> <library> <id>3</id> <library_name> Greenwich<library_name> <name>xmlvshtml</name> <availble_books>2</availble_books> <empty_shelves>6</empty_shelves> </library>
The result I'm trying to get is like this
<li>6empty, 8 bookes @ Greenwich library </li> <li>5 empty, 8 bookes @ UCL library </li>
Thank you
Mohamed Sanaulla
Bartender
Posts: 3225
34
I like...
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can you show us your code where you are stuck?
Mohamed Sanaulla |
My Blog
| Author of
Java 9 Cookbook
|
Java 11 Cookbook
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
tool for writing XSLT/XQuery
how can i save image in xml
Declare more than one tag-file inside one .tld file
How to copy rows from one database to another
Locale wise 301 redirect in jsp
More...