Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search


Revision as of 03:10, 27 July 2007 by (Talk | contribs) (added categories)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< To: TCS


How to declare optional attributes and references in TCS

To declare optional elements, you should use the following syntax: ( maCondition ? thenSequence : elseSequence)

For example:

"booleanValue" ":" (myBooleanAttribute ? "true" : "false")
(isDefined(mySampleReference) ? "subElements" "{" mySampleReference "}")

Back to the top