<Mcml xmlns="http://schemas.microsoft.com/2006/mcml"      xmlns:base="http://sp.miomni.com/Default.aspx?Action=BasePageUI"      xmlns:styles="http://sp.miomni.com/Default.aspx?Action=Styles"      xmlns:LBTN="http://sp.miomni.com/Default.aspx?Action=LaunchButton"      xmlns:host="assembly://Microsoft.MediaCenter/Microsoft.MediaCenter.Hosting"      xmlns:mce="assembly://Microsoft.MediaCenter/Microsoft.MediaCenter"	    xmlns:cor="assembly://MSCorLib/System"      xmlns:me="Me">  <UI Name="LaunchPageUI" BaseUI="base:BasePageUI">    <Properties>      <host:PageSession Name="Session" PageSession="$Required"/>      <cor:Boolean Name="IsHosted" Boolean="false" />      <AnchorLayoutInput Name="BGLO" Left="Parent,0" Top="Parent,0"/>    </Properties>    <Locals>      <mce:PageId Name="PageId" PageId="ExtensibilityUrl"/>      <cor:String  Name="TargetURL" String="http://sp.miomni.com/MCE_SP_StartPage.html"/>      <cor:String Name="LaunchURI" String="http://sp.miomni.com/HomePageLoader.aspx?Action=HomePage"/>      <PropertySet Name="ApplicationData" />      <EditableText Name="PageName" Value="LaunchPage"/>      <Command Name="LeaveCMD" Description="Leave"/>      <Command Name="GoBackCMD" Description="Go Back"/>      <!--<Timer Name="HostTimer" AutoRepeat="false" Enabled="true" Interval="1500" />-->    </Locals>    <Rules>      <Rule>        <Conditions>          <Equality Source="[IsHosted]" Value="true" />        </Conditions>        <Actions>          <!--<Invoke Target="[Session.Close]" />-->          <Invoke Target="[AddInHost.ApplicationContext.CloseApplication]"/>        </Actions>      </Rule>      <Rule>        <Conditions>          <!--<Modified Source="[HostTimer.Tick]"/>-->          <Equality Source="[IsHosted]" Value="false" />        </Conditions>        <Actions>          <DebugTrace Message="Navigating to {0}">            <Params>              <ObjectPath ObjectPath="[LaunchURI]"/>            </Params>          </DebugTrace>          <Set Target="[Session.TargetHost]" Value="[PageHost]" />          <!--<Navigate Source="[LaunchURI]"/>-->          <Invoke Target="[AddInHost.MediaCenterEnvironment.NavigateToPage]" pageId="[PageId]" pageParameters="[TargetURL]"/>        </Actions>      </Rule>      <!--<Rule>        <Conditions>          <Equality Source="[Input.KeyFocus]" Value="true" />        </Conditions>        <Actions>          <Invoke Target="[PageHost.NavigateInto]" />        </Actions>      </Rule>-->      <Rule>        <Actions>          <Set Target="[ApplicationData.#PageName]" Value="[PageName]"/>        </Actions>      </Rule>      <Changed Source="[GoBackCMD.Invoked]">        <Actions>          <Invoke Target="[AddInHost.MediaCenterEnvironment.NavigateToPage]" pageId="[PageId]" pageParameters="[TargetURL]"/>        </Actions>      </Changed>      <Changed Source="[LeaveCMD.Invoked]">        <Actions>          <Invoke Target="[AddInHost.ApplicationContext.CloseApplication]"/>        </Actions>      </Changed>    </Rules>    <Content>      <Panel Layout="Anchor" MaximumSize="0,0">        <Children>          <Panel>            <Layout>              <FlowLayout Orientation="Horizontal"/>            </Layout>            <Children>              <LBTN:LaunchButton Model="[LeaveCMD]"/>              <LBTN:LaunchButton Model="[GoBackCMD]"/>            </Children>          </Panel>          <Graphic Content="image://styles:BGImage"/>          <Graphic Content="image://styles:BGImageTile" VerticalAlignment="Fill" HorizontalAlignment="Fill" SizingPolicy="SizeToConstraint"/>          <me:PageBaseUI Name="PageHost" IsHosted="true" ApplicationData="[ApplicationData]" Session="[Session]"/>        </Children>      </Panel>    </Content>  </UI>  <UI Name="PageBaseUI">    <Properties>      <cor:Boolean Name="IsHosted" Boolean="false" />      <host:PageSession Name="Session" PageSession="$Required"/>      <PropertySet Name="ApplicationData" PropertySet="$Required" />      <PropertySet Name="PageData"/>    </Properties>  </UI></Mcml>
