View Single Post
  #2 (permalink)  
Old 07-04-2007, 10:17 AM
Peter Peter is offline
Senior Member
 
Join Date: Jun 2007
Posts: 119
Peter is on a distinguished road
SAX is not a good choice for your requirement. A better idea would be to use DOM if the String that you recieve contains more then 1 records.
However if you insist on using SAX
In brief, you will have to override the existing functions in the DefaultHandler like startelement(), characters() etc and you will have to populate your Record Object by the Values that the parser returns.
Reply With Quote