• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Set the Text for the xml tag

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My requirement is... i have an xml file. In which i need to set the value for a tag.



Please refer to the xml file .My requirement is , say for example...in the attached xml,

book tag is repeating. First i need to see which book is having the attribute 'id' as bk102. And then i need to find whether the value of title is "Midnight Rain". If its Midnight Rain then i need to update the value of "price" tag to 10. Currently it is 5.95..i need to change this to 10.

Can someone tell me which would be the best approach to do this.

Thanks !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic