aspose file tools*
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
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