<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" indent="no" omit-xml-declaration="yes" />


<!--
XSL template for APNSoft Menu.
Version: ConditionalFormatting 4.1
Created: 04/08/2011
Updated: 10/14/2011
Copyright (C) APNSoft. All rights reserved.
http://www.apnsoft.com

Free for commercial and non-commercial use.
You can distribute and modify it freely.
-->




<!--Main Template call-->
<xsl:template match="/"><xsl:call-template name="Main" /></xsl:template>



<!--Main Template-->
<xsl:template name="Main">
    

    <!--Conditional Formatting-->
    <xsl:choose>

        <xsl:when test="'$ItemID$' = 'i2_2'"><font color="silver">$Title$ (Disabled)</font></xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_3'">$Title$ (with details)<br/><div style="color:gray;font-size:9px;">Details for '$Title$' ...</div></xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_4'"><b>$Title$ (bold)</b></xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_5'">$Title$ (with <a href="http://www.asp.net" target="_blank" style="color:blue;">Link</a>)</xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_6'">$Title$ (with <span onclick="javascript:alert('The [[$Title$ ($ItemID$)]] is clicked!');" style="color:red;cursor:default;cursor:hand;cursor:pointer;">JavaScript</span>)</xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_7'">$Title$ (with Image <img src="~/Images/New.gif" width="29" height="15" border="0" hspace="2" vspace="2" align="absmiddle" />)</xsl:when>
        <xsl:when test="'$ItemID$' = 'i2_8'"><div style="width:60px;height:60px;background-color:black;color:white;padding:4px;">$Title$[br/](Black Box)</div></xsl:when>

        <xsl:otherwise>$Title$</xsl:otherwise>

    </xsl:choose>

</xsl:template>



</xsl:stylesheet>