Difference between revisions of "XML Attribute"

36 bytes added ,  12:42, 14 March 2011
m
no edit summary
imported>Kyoma
m
imported>Kyoma
m
Line 1: Line 1:
XML uses named attributes for XML elements. The XML syntax doesn't specify what attributes are possible, only that they be given as ''AttributeName="Value"'' in the opening tag of an element.  Oblivion XML recognizes only three true XML attributes: '''name''', '''src''', and '''trait'''.   
Normal XML uses named attributes for specifying additional info for an element. The XML syntax doesn't specify what attributes are possible, only that they be given as ''AttributeName="Value"'' in the opening tag of an element.  Oblivion XML recognizes only three true XML attributes: '''name''', '''src''', and '''trait'''.   


The '''name''' attribute provides a way to identify elements in a menu file.  This attribute is used only for [[Object Element]]s - property or operator elements are never named.  The name of an element need not be unique within the entire menu, but every element should at least have a different name from it's siblings (as discussed below).
The '''name''' attribute provides a way to identify elements in a menu file.  This attribute is used only for [[Object Element]]s - property or operator elements are never named.  The name of an element need not be unique within the entire menu, but every element should at least have a different name from it's siblings (as discussed below).
Anonymous user