Difference between revisions of "Oblivion XML Reference/Operators"
Jump to navigation
Jump to search
Oblivion XML Reference/Operators (edit)
Revision as of 12:25, 21 December 2023
, 12:25, 21 December 2023no edit summary
imported>DavidJCobb (selectors) |
|||
Line 1: | Line 1: | ||
'''Operators''' act as a stack of sorts. Each operator element has its own value (either as the contents of its XML tag, or pulled from another element via the ''src'' and ''trait'' attributes) and it returns a value, operating with awareness of its previous sibling’s returned value. | '''Operators''' act as a stack of sorts. Each operator element has its own value (either as the contents of its XML tag, or pulled from another element via the ''src'' and ''trait'' attributes) and it returns a value, operating with awareness of its previous sibling’s returned value. | ||
a | |||
[[Oblivion XML Reference/Traits|Trait]] elements can only contain raw number values, raw string values, or operator child elements. Operator elements can generally only contain raw number values or operator child elements. Besides ''copy'', there are no string operators. Here are some examples of operators: | [[Oblivion XML Reference/Traits|Trait]] elements can only contain raw number values, raw string values, or operator child elements. Operator elements can generally only contain raw number values or operator child elements. Besides ''copy'', there are no string operators. Here are some examples of operators: | ||