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

How do you view an xml file?

666


What is binding (XML)?

699


Can an application process documents that use xml namespaces and documents that don’t use xml namespaces?

623


Can I open an xml file in excel?

644


How do I create an xml schema?

664


What language does xml use?

658


How do I convert xml to text?

701


How many document types are defined for atom feed files?

620


Why xslt is used?

616


What is xml file in itr?

645


Can xml file be converted to excel?

691


What is a qualified name?

721


what are the w3c specifications for xml?

1943


How do I get xml into or out of a database?

671


Write the steps involved in the creation of a custom schema.

647