Difference between revisions of "Category:Oblivion XML"

3 bytes added ,  21:24, 22 May 2009
m
imported>JRoush
imported>JRoush
Line 19: Line 19:
XML is a general syntax - the meaning of specific elements depends entirely on the program parsing the file.   
XML is a general syntax - the meaning of specific elements depends entirely on the program parsing the file.   


The elements recognized by the Oblivion parser can be divided into three basic categories.  [[Menu Element|"Menu" Elements]] define actual objects in the menu, such as buttons or text.  [[Property Element|"Property Elements"]] are always children of Menu Elements, evaluated by Oblivion to parameters like the position or color of their parent.  [[Operator Element|"Operator" Elements]] are always the children of Value Elements, which Oblivion uses to construct algebraic expressions for the value of their parent.  Unrecognized element types will be parsed (they can be referred to by name from Operator elements and OBSE functions) provided they are well-formed.
The elements recognized by the Oblivion parser can be divided into three basic categories.  [[Menu Element|"Menu" Elements]] define actual objects in the menu, such as buttons or text.  [[Property Element|"Property Elements"]] are always children of Menu Elements, evaluated by Oblivion to parameters like the position or color of their parent.  [[Operator Element|"Operator" Elements]] are always the children of Property Elements, which Oblivion uses to construct algebraic expressions for the value of their parent.  Unrecognized element types will be parsed (they can be referred to by name from Operator elements and OBSE functions) provided they are well-formed.


Oblivion only recognizes three element [[Traits]]: "name", "src", and "trait".
Oblivion only recognizes three element [[Traits]]: "name", "src", and "trait".
Anonymous user