This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes reading from xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "reading from xml" Watch "reading from xml" New topic
Author

reading from xml

mah kumar
Greenhorn

Joined: Feb 05, 2004
Posts: 22
Hi friends,
How to read the value from xml by using jsp/java?.
Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Moving to the XML and Related Technologies forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I would recommend starting by looking at DOM.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
XPath is also a handy language for querying pieces of data from XML documents. Take a look at here for an example on how to use XPath with DOM and Jaxen.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: reading from xml
 
Similar Threads
Total no. of questions
Using XML for string message
XML
Is there an easy way
create xml document by xpath in java