• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Processing a raw XML file

 
Ryan Day
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am familiar with processing web services, but a web site is feeding data with just a raw XML file as a URL.

Where tools should I use to throw this data into a JSP/Servlet web app?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard Java library is pretty complete. If you can get a character stream from that URL, it can be parsed into a DOM or read as SAX events. Choosing which way to go depends on what your app has to do with the data.

If you are new to XML, go work through one of the many excellent tutorials first.

Bill
 
Ryan Day
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bill. Looks like there is a treasure trove on your web site. Are any of those links to tutorials you would recommend I start with?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually send people to this Sun tutorial site.

Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic