Ucgvneneeghxo
New Member
Having this xml document\[code\]<root><bookstore> <presc:book> <presc:id>1</presc:id> <presc:title>Harry Potter</presc:title> <prescrice>29.99</prescrice> </presc:book> <presc:book> <presc:id>2</presc:id> <presc:title>Learning XML</presc:title> <prescrice>39.95</prescrice> </presc:book> <presc:book> <presc:id>3</presc:id> <presc:title>Java for Life</presc:title> <prescrice>54.49</prescrice> </presc:book></bookstore>\[/code\] I'd like the get the value of 'prescrice' only where 'pres:id'=2.Thanks for any help.