2 pass for XML parsing
As per the design, A has to process X to get say X1 and then B has to process
X1 to get the final output to get Y.
X --A--> X1 ---B--> Y
Questions:
a) Which parser would be better for this SAX or DOM?
b) Since parsing the XML file 2 times can be expensive, what is the optimum
way to get this parsed.
c) Suppose the parsing has to be done on two different machines, what is
the best way of doing this?
Thanks in advance,
Sudhir

