The syntax for the switch tag is:
<switch> <!-- child1 testAttributes1 --> <!-- child2 testAttributes2 --> <!-- child3 testAttributes3 --> </switch>
The rule is:
<switch> tag children whose test attributes are all evaluated to TRUE is
executed.
For example you may wish to provide presentations in english or welsh:
<body>
<switch>
<!-- English only -->
<par system-language="en">
<img src="cardiff.gif" region="cardiff"/>
< audio src ="english.au" />
</par>
<!-- Welsh only -->
<par system-language="cy">
<img src="caerdydd.gif" region="cardiff"/>
<audio src ="cymraeg.au" />
</par>
somewhere in code you will (or it will be set) set the system-language