Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML parsing

 
Shyam Viji
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where can I find practice problems related to XML Parsing and Xpath expressions in Java? I want to familiarize with these topics.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Here's a problem that asks you to create XPath expressions for a given XML file. A solution is also given, if you want it, but it's not perfect. Might be a fun thing to do. At least I had fun solving it :-)
 
Sachin Adat
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

But where's the problem.......
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Err, I meant to provide a link. Here it is: http://www.coderanch.com/t/129219/XML/XPath-XML-Node-Java-API
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic