In: Operations Management
Q55
Identify the main attributes of XML. [3 Marks]
<element-name attribute1 attribute2 >....content..</elementname>
here attribute1 and attribute2 is in the form name = "value",where value has to be in double (" ") or single (' ') quotes.
1)the name of the attribute or the attribute name should not appear more than once in the same start-tag or empty-element tag.
2)An attribute should always be declared in the Document Type Definition (DTD) only by using an Attribute-List Declaration.
3)Attribute values should always not contain any direct or indirect entity references to the external entities.
4)The replacement text of any of the entity which is referred directly or indirectly in an attribute value must not contain a less than sign (<).