Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: Working of SAX

  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Working of SAX

    Hi everyone,
    I have provided a short description on the working of SAX API. Please feel free to add your own views on this thread.

    SAX uses classes & interfaces defined in the SAX API to process an XML document in the form of a stream of data. The SAX API also defines various event listeners that notify the SAX parser of events, such as the start of document, end of document, start of tag & end of tag. The SAX parser notifies your SAX application each time the SAX parser recognizes any syntax constructs in the XML document that is being parsed. The notification is done by means of callback methods, such as startDocument(), characters(), or endDocument(). These methods are defined by handler interfaces, such as ContentHandler, DTDHandler, ErrorHandler, & EntityResolver. U need to implement the handler interfaces in the SAX application & overide the callback methods to receive notification of parsing events.
    Attached Thumbnails Attached Thumbnails Working of SAX-working-sax.jpg  


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •