<!-- Focus of this test: switch element, structure variations -->
<!-- 'switch' contains a number of 'layout' elements, but only one is allowed -->

<?xml version="1.0" ?>
<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">

<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
    <head>
        <switch>
            <layout> <!-- This is a "landscape" screen -->
                <root-layout width="352" height="144"/>
                <region id="Image" width="176" height="144" left="0" top="0"/>
                <region id="Text" width="176" height="144" left="176" top="0"/>
            </layout>

            <layout> <!-- This is a "portrait" screen -->
                <root-layout width="176" height="216"/>
                <region id="Image" width="176" height="144" left="0" top="0"/>
                <region id="Text" width="176" height="72" left="0" top="144"/>
            </layout>
        </switch>
    </head>

    <body>
        <par dur="8s">
            <img src="FirstImage.jpg" region="Image"/>
            <text src="FirstText.txt" region="Text"/>
            <audio src="FirstSound.amr"/>
        </par>
        <par dur="7s">
            <img src="SecondImage.jpg" region="Image"/>
            <text src="SecondText.txt" region="Text"/>
            <audio src="SecondSound.amr"/>
        </par>
        <par dur="4s">
            <img src="ThirdImage.jpg" region="Image"/>
            <text src="ThirdText.txt" region="Text"/>
            <audio src="ThirdSound.amr"/>
        </par>
    </body>
</smil>
