...

View Full Version : find value of 2nd attribute based on 1st



chopswil
09-26-2008, 12:06 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum