XML Elements vs. Attributes - XML

XML Elements vs. Attributes

XML elements as well as attributes can be used to provide the same information about an entity in an XML database. The only difference lies in the way they are written.

For example:
<book name = “Da Vinci Code”> ..... is an example of using attributes.

The same information can be provided in the element form as follows:
<book>
     <name>Da Vinci Code</name>
</book>
What are the problems with using XML attributes? - XML
use of attributes is limited as they cannot contain multiple values, cannot contain tree structures nor are expandable.......
XSLT and XPATH - interview questions
XSLT and XPATH - What is XSLT?, What are the roles of XSLT?, What is XSLT? Explain its relationships with XSL, What is XSLT stylesheet?
What is XSLT? - XML
XSLT stands for XSL Transformations and is a language used to transform XML documents.......
Post your comment