aspose file tools*
The moose likes XML and Related Technologies and the fly likes Extract data from xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Extract data from xml file" Watch "Extract data from xml file" New topic
Author

Extract data from xml file

Uday Rao
Greenhorn

Joined: Jul 26, 2001
Posts: 1
Hi,
I am new to xml and have this question: I have an xml file and would like to extract data from it depending upon user input.For e.g. the xml document has details of books(title,author,isbn etc.)If the user wants to see the details of a particular book,he/she should be prompted for specifics (title,author,isbn etc).With this,the document is searched and if a match is found,it is displayed to the user. How do I accomplish this?
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Extract data from xml file
 
Similar Threads
Suggestions needed!
Castor Help with unmarshalling
Input as xml in dojo unable to load
My Array
Parsing XML file using Xpath in jdk1.4