Difference Between Element and Node.

Answer Posted / prakash kingsly

A node can be an element node, an attribute node, a text
node, or any other of the node types

XML DOM Node Types

NodeType Named Constant
1 ELEMENT_NODE
2 ATTRIBUTE_NODE
3 TEXT_NODE
4 CDATA_SECTION_NODE
5 ENTITY_REFERENCE_NODE
6 ENTITY_NODE
7 PROCESSING_INSTRUCTION_NODE
8 COMMENT_NODE
9 DOCUMENT_NODE
10 DOCUMENT_TYPE_NODE
11 DOCUMENT_FRAGMENT_NODE
12 NOTATION_NODE

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mode in xslt?

455


What is xml and css?

457


What is rss element rss?

436


Is html xml?

462


What is the full meaning of xml?

470






How do I make a pdf into a picture?

443


How do I get an rss feed for my podcast?

437


What is difference between html and xml?

461


Does google have an rss reader?

460


What is xl file?

448


How is metadata handled by xml?

507


What is the purpose of an xml file?

451


What are the advantages of using xslt?

472


How do I download an xml file?

467


What is a url of an rss feed?

486