I'm working in Java with XML and I'm wondering; what's the difference between an element and a node?
Xml – What’s the difference between an element and a node in XML
xmlxmlnode
Related Topic
- Xml – the difference between XML and XSD
- Xml – What’s the difference between xsd:include and xsd:import
- Xml – How to comment out a block of tags in XML
- Xml – What does in XML mean
- Php – How to parse and process HTML/XML in PHP
- C# – the difference between Linq to XML Descendants and Elements
- Xml – What’s the difference between text/xml vs application/xml for webservice response
- Html – How To Auto-Format / Indent XML/HTML in Notepad++
Best Answer
The Node object is the primary data type for the entire DOM.
A node can be an element node, an attribute node, a text node, or any other of the node types explained in the "Node types" chapter.
An XML element is everything from (including) the element's start tag to (including) the element's end tag.