Bookmark Topic Watch Topic
  • New Topic

A SAXParser question

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All XML Gurus ,
I have a simple XML which I need to pull a node out .
<esrv><data><query><data-assoc><table>TableName</table><view><col>a</col><col>b</col></view><data-assoc><query><data><esrv>
data-assoc .
This is really a big XML which has lot of values in attributes and lots more tags which I have omitted and has already been implemented by previous programmer in SAXParser so I dont want to break this code by introducing DOM Parser which would solve this problem very easily.
Can some one tell me the fastest way to get that node using SAXParser(data-assoc) or do I need to read each tag step by step and keep on appending to the value to finally give the entire tree under data-assoc .
Thanks every one
Dhiren
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Dhiren,
You already got answers in "XML and Related Technologies" forum here, so I am closing this thread. Please don't start the same topic in more than one forum; it wastes time for people who don't realize if something's already been answered elsewhere. Thanks!
 
    Bookmark Topic Watch Topic
  • New Topic