SAX Parser
1 posts in topic
Flat View  Flat View

Posted By:   kedar_nandiamath
Posted On:   Tuesday, November 6, 2007 02:29 AM

Somebody please show me the basic skeleton code for SAX parsing.how to access the tags(childnodes)

Re: SAX Parser

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, November 6, 2007 09:00 AM

You really need to find a tutorial on using a SAX parser. In SAX, you don't just "access the tags" at whim like you do in a DOM model unless you keep track of the data you are interested in on your own. SAX works effectively like an event/callback mechanism ... it lets you know that it finds a tag in an XML document source as it finds them during parsing.
About | Sitemap | Contact