Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing XML with Resin/JAXP

Status
Not open for further replies.

tiz

Programmer
Apr 5, 2001
65
GB
Hi,

I need to parse a simple XML document, like:
Code:
<book>
  <title>Title</title>
  <author>Authors Name</author>
  <price>20</price>
</book>
..and display the values of Title, Author and Price.

I am using Resin's XML package and JAXP but I can't seem to get it to work properly. I've tried following the docs that come with Resin but they seem a little buggy. Anyone got some example code?

Tim --
Tim <tim@planetedge.co.uk>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top