posted 20 years ago
Hi Everyone ,
I have a simple XML which I need to pull a node out data-assoc.
<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.
I also dont want to mix a DOM and a SAXParser so I have to do this with a SAXParser for now.
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