my dog learned polymorphism
The moose likes XML and Related Technologies and the fly likes Getting comment data using SAX.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Getting comment data using SAX...." Watch "Getting comment data using SAX...." New topic

Getting comment data using SAX....

Siyaa Hoffman

Joined: Jan 15, 2004
Posts: 23

I wanted to know that is it possible to use SAX parser and get the data in a comment node...when I say node I actually mean the data in the element -

<!--this data using SAX -->

I know in DOM, there is a comment node and you can get that data.
How would I get that data using SAX ?

I agree. Here's the link:
subject: Getting comment data using SAX....
It's not a secret anymore!