Difference between revisions of "Category:Oblivion XML"

6 bytes added ,  19:29, 21 May 2009
no edit summary
imported>JRoush
(added the oblivion schema section)
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.  [[Value Element|"Value" 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.   
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.   


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