<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="text"/>

  <xsl:template match="/data">

    <xsl:choose>
      <xsl:when test="(./TrayLowInfo = 1)">PAPER_TRAY_1_LOW</xsl:when>
      <xsl:when test="(./TrayLowInfo = 2)">PAPER_TRAY_2_LOW</xsl:when>
      <xsl:when test="(./TrayLowInfo = 3)">PAPER_TRAY_BOTH_LOW</xsl:when>
    </xsl:choose>
  </xsl:template>

</xsl:stylesheet>
