Input XML FILE:
<?xml version="1.0"?>
<note>
<to cat="head">
<cc>Arun</cc>
<cc>Vibin</cc>
</to>
<from>
<bc>Jani</bc>
<bc>ishya</bc>
</from>
</note>
EXPLAIN:
<note>------->parent Element
<to>,<from>-->Child Element
<cc>,<bc>----->siblings
cat----------->attribute
Strcture Tree Diagram:
No comments:
Post a Comment