Google News
logo
XML - Interview Questions
What is Attribute in XML?
Attributes in XML must be quoted, such as text strings and URLs. Other values such as images, heights and font size give the desired results regardless of the quotation.
 
Example : <person gender=”female”> or <person gender=’male’>
 
Attribute in XML can use both single and double quotes in a specific element in any combination.
 
Example : <flower name=”lotus” ‘rose’ ‘lily’>
Advertisement