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
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
XML and Related Technologies
XPath doubt.
Jose Mon
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Consider the following XML
<CarInfo>
<Type>W</Type>
<CarVnd>ZE</CarVnd>
</CarInfo>
I want to Query the <CarInfo> tags which contains <CarVnd>ZE</CarVnd>
<CarInfo> is repeated so many times with different <carVnd> tags.
Can anyone give me the XPath query.
Paul Clapham
Marshal
Posts: 27211
87
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When you say "where" in your informal description, that corresponds to using a predicate in XPath. Like this:
CarInfo[CarVnd = 'ZE']
What's that smell? I think this tiny ad may have stepped in something.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Urgent Help! How to get attributes value using xalan parser
Is This an Optimal Substring Solution???
how can i bold the text in velocity.
XPath Question
question about ejbSelect
More...