Single Quotes
:
[xml]<fruit name='apple'>[/xml]
Double Quotes
:
[xml]<fruit name="apple">[/xml]
If value has the quotes itself, then the representation can be of any of below two types:
[xml]<fruit name="Green 'apple' ">
or
<fruit name='Green "apple"'>[/xml]
4. Attribute names should not be within quotation marks and are case sensitive.
5. An attribute's value cannot include a naked attribute delimiter and also cannot include a naked markup introducer.
6. An XML processor can deliver attributes to an application in any order. The authored order of attributes is irrelevant. The values could be passed to an application in alphabetic order by name, collation order by value, the same order as specified in an element's tag, perhaps even the reverse order in which they are specified.
7. Attributes cannot have multiple values and tree structures like elements and are not easily extensible.