wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes How do I write an Xpath expression that selects two nodes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How do I write an Xpath expression that selects two nodes?" Watch "How do I write an Xpath expression that selects two nodes?" New topic
Author

How do I write an Xpath expression that selects two nodes?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using Java 6. How do I write an path expression that selects two elements? For example, I have each of these expressions …



and each on their own selects an element from the part of the DOM I want. However, if I try and combine them like so …



I get the following exception …



Thanks, - Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I write an Xpath expression that selects two nodes?
 
Similar Threads
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction
Eclipselink, oracle 11 and clobs
Spring JUnit error
Spring and Hibernate problem
Trouble parsing a well-formed file with a defined entity reference