posted 16 years ago
Hi,
We are developing an application which will compare two xml files and update the new xml file in case of changes. We are considering two scenarios here, update and add. For parsing new xml file we are using DOM parser, so that we can move back and forth and for parsing old xml file we are using Stax parser. We were able to incoroporate update functianolity. But while implementing add functionality, we are not able to count the number of child nodes for each parent node. Is there a way to count number of child nodes (means breadth of parent node) using Stax parser. Thanks in advance for your help
Regards
Sai Korada