aspose file tools*
The moose likes XML and Related Technologies and the fly likes SAX.  Help please 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 "SAX.  Help please" Watch "SAX.  Help please" New topic
Author

SAX. Help please

Ambrose Tati
Ranch Hand

Joined: Oct 03, 2000
Posts: 55
Dea all,
I've written a basic code using SAX. I've overloaded the startElement() function. Using this function I can traverse all elements in my XML document. My question is: how do I extract the actual text of the elements?
Say, if I have <To> Ambrose </To>, how do I get the text "Ambrose"?
Thanks in advance
Ambrose
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAX. Help please