<?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:if test="./CartridgeTypeCart1!='Photo' and ./CartridgeTypeCart2 !='Photo'and ./DaysSinceShowedNonInkBB &gt;1">
      <xsl:choose>
        <xsl:when test="
          contains(./JobName,'.jpg')
          or contains(./JobName,'.jfif')
          or contains(./JobName,'.jpe')
          or contains(./JobName,'.jtf')
          or contains(./JobName,'.png')
	  or contains(./JobName,'.bmp')
	  or contains(./JobName,'.gif')
	  or contains(./JobName,'document-1')">GETKCM
        </xsl:when>
    </xsl:choose>
  </xsl:if>

  </xsl:template>

</xsl:stylesheet>
