Difference Between Element and Node.

Answer Posted / mohit singh

Hi

Node is like super type of an element. Element is a
specific type of node.

exmaple

Element:
<name>Hari</name>

Node:
<name id="1212" dep="6">Hari</name>


thanks

Is This Answer Correct ?    13 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dtd and its types?

528


How do I override an xml namespace declaration that uses a prefix?

467


Write a program to show literal result element as stylesheet?

438


What is dom parsing?

458


What is an rss file extension?

478






What is xml tag library?

446


Are xml elements ordered?

490


How can I make my existing html files work in xml?

489


Can I (and my authors) still use client-side inclusions?

507


How do I convert excel to xml?

457


Are you ready to relocate? : xslt

455


Can I use the getattribute() and setattribute() methods of version 2.2 of the java servlet api to parse xml documents?

513


What is the use of xsd in xml?

477


What is the use of xml data binding?

503


What is element and attributes in xml?

484