answersLogoWhite

0


Best Answer

Elements are used to encapsulate pieces of data, and attributes are generally used to provide accompanying information about an element, rather than to encapsulate raw data itself.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between a node and an element in XML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between XML property and XML dimension?

The xml property returns the XML of a node and its descendants.Dimension is a type used for a variety of purposes for defining values


What is the difference between a well formed XML document and a Valid XML document?

Well-formed XML means that the XML is correct (it has only one root node, and all elements match an end element tag)Valid XML means that the XML can be validated to an XML Schema or DTD, and that all the tags in the XML are also in the Schema or DTD, and in the right place.


What is the difference between xslt and xml?

XML is a language used to store data. XSLT is a language which is used to transform XML into other XML.


What is element in XML document?

In xml, an element is a piece of data.


Difference between java script and xml?

It would be harder to describe the similarity between JavaScript and XML. These two languages are for entirely different purposes.


Distinguish between XSL and CSS with XML?

If you wish to style an element within XML you will need to use XSL and XSLT, CSS is commonly used for HTML and other languages other than XML data.


What is the difference between sax and dom?

Both SAX and DOM are used to parse the XML document. Both has advantages and disadvantages and can be used in our programming depending on the situation SAX: 1. Parses node by node 2. Doesnt store the XML in memory 3. We cant insert or delete a node 4. Top to bottom traversing DOM 1. Stores the entire XML document into memory before processing 2. Occupies more memory 3. We can insert or delete nodes 4. Traverse in any direction. If we need to find a node and doesnt need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory.


What is difference between binary file and Excel file?

When referring to Excel 2007, there are two file types you can use when you save a file, XML and binary. If you save the file as binary, then there is no difference between the two. If you save the file as XML, then the XML file contains XML formatting data (explanation beyond the scope of this question) and the binary file is formatted for computers to read directly.


What are the differences between htmlxmlsgml and xhtml?

basikly xhtml is a mics of html and xml. the difference in html and xhtml is that xhtml is a more strict on the syntax and defined as a xml document. xml is a self defined language... in short it is a strikter html in xml format...


What is XML Encoded?

XML encoding allows you to place arbitrary text within an XML node; this is required when the content itself uses characters that XML has reserved for its language specification, such as the less-than and greater-than symbols. A XML-encoded file is one whose format is XML, and generally contains data that would be used by a program.


What is encoded?

XML encoding allows you to place arbitrary text within an XML node; this is required when the content itself uses characters that XML has reserved for its language specification, such as the less-than and greater-than symbols. A XML-encoded file is one whose format is XML, and generally contains data that would be used by a program.


What is difference between XML and valid xml?

You can compare this with English usage. I can say to you, "Jeet yet?" and you would probably understand me to mean, "Did you eat yet?" One of these sentences is valid English, the other is questionable. In the same way you can write valid XML and you can write XML with numerous imperfections. Many XML language processors are capable of understanding both. However, it's safer to write valid XML.