Difference Between Element and Node.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
How do I add an rss feed to my website?
How does a template instantiated?
What is an xml spreadsheet?
What is the difference between XML Serialization and Binary Serialization?
0 Answers Sans Pareil IT Services,
How do I open an xml file in excel?
Can I use a relative uri as a namespace name?
In What case you are not going to use XML?
What are well-formed xml documents?
What is xml schema in html?
Explain the relationships of XSLT with XSL?
when you go for xmlTextReader and when you opt xmlDocument?
clarify relationships of xslt with xsl