Jump to: navigation, search

TCS/FAQ

< TCS
Revision as of 03:10, 27 July 2007 by Freddy.allilaire.univ-nantes.fr (Talk | contribs)

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

< To: TCS

TCS FAQ

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 "}")