Chapter 26: Problem 5
What is the difference between attributes and elements in XML? List some of the important attributes used in specifying elements in XML schema.
Short Answer
Expert verified
Attributes in XML provide additional information about an element and they are always listed within the start tag of an element whereas Elements can contain data or other elements. Some important attributes in XML Schema include 'id', 'maxOccurs', 'minOccurs', 'type', and 'name'.
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.