What is the purpose of xml parsing?what is the diff between sax and dom parser?

Questions by gvp.java

Showing Answers 1 - 6 of 6 Answers

Shailendra Tiwari

  • Jul 5th, 2007
 

xml parsing use for reading xml files. Sax and Dom parser use for xml parsing.

  Was this answer useful?  Yes

Roshan

  • Jul 13th, 2007
 

XML parsing is done to retreive data from xml.(i.e,from root elements, attributes..tags)
SAX parser is used to retreive data in a fashion that when it encounters any tag the data encountered is returned back.

DOM parser constructs a content tree for the elements.unsequential traverse can be made.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions