<?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 DataGrid.
    Version: CheckBoxes 1.1
    Created: 12/10/2008
    Updated: 04/28/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="'$Discontinued$' = 'True'">
                <input type="checkbox" id="$ProductID$" checked="True" onclick="UpdateDB(this);" />
            </xsl:when>
            <xsl:otherwise>
                <input type="checkbox" id="$ProductID$" onclick="UpdateDB(this);" />
            </xsl:otherwise>
        </xsl:choose>

    </xsl:template>


</xsl:stylesheet>