View Single Post
  #1 (permalink)  
Old September 25th, 2008, 06:50 PM
chopswil chopswil is offline
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default select another attribute value

If I have a XML like so
<Book Title="Othello" Author="William Shakespeare" />

How do I select the value of another attribute if I know the value of the 1st?
i.e. /Book[@Title='Othello'] but I want the value of Author

any ideas?

Thanks

Reply With Quote