File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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....
jQuery in Action, 3rd edition