<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:include href="/app/tools/support/templates/layout.xsl" />

  <xsl:template name="mainBody" >
    <xsl:call-template name="bodyTitle" >
      <xsl:with-param name="title">Distribution Services</xsl:with-param>
    </xsl:call-template>
    <xsl:call-template name="displayList" />
  </xsl:template>

  <xsl:template name="displayList" >
    <xsl:call-template name="collectionList" >
      <xsl:with-param name="columns" >
        <Column align="left" field="ServiceID">Service ID</Column>
        <Column align="left" field="ServiceName">Name</Column>
        <Column align="left" field="Status">Status</Column>
      </xsl:with-param>
      <xsl:with-param name="editCommand">service_detail</xsl:with-param>
      <xsl:with-param name="addCommand">service_detail</xsl:with-param>
      <xsl:with-param name="addButtonText">Add Service</xsl:with-param>
      <xsl:with-param name="keyField">ServiceID</xsl:with-param>
      <xsl:with-param name="sortFields">
        <Sort>
          <Column type="text">ServiceName</Column>
        </Sort>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:template>

</xsl:stylesheet>
