Search This Blog

Friday, December 10, 2010

What is XML Parser

1.All xml files or documents will be converted into xml DOM Object by XML Parser.
2.All new browsers will be having XML Parsers.
3.XML DOM is a graphical representation of the nodes in browsers memory.
Ex: Let us say i have below "Students.xml" file .
<Students>
<Student> <Name>Sreepriya</Name> </Student>
<Student><Name>Subhashini</Name></Student>
</Students>
Explanation: Now Parser will read the above xml file and prepare Logical graphs for each and every node just like a tree.Please see the below diagram for how the DOM tree looks like.

1 comment:

subhashini said...

nice and simple explanation