wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes How to get text using DOM parser 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 "How to get text using DOM parser" Watch "How to get text using DOM parser" New topic
Author

How to get text using DOM parser

kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
I am parsing the following XML using a DOM parser, how do i get the text from the xml below ("some text here")



Thanks,
Kapil
kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
got it:
if nodeType == 3 then the value is contained in that node
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get text using DOM parser
 
Similar Threads
while-loop
Invalid/Special XML characters such as &, ', "
Need help in modifying XML text value using DOm parser
How to read XML content by Java?
Help needed with DOJO and JSP