           <xsl:when test="starts-with(enclosure/@type, 'text')">
                  <a>
                    <xsl:attribute name="href">
                      <xsl:value-of select="enclosure/@url"/>
                    </xsl:attribute>
                    View
                    <span class="icon-arrow-right"></span>
                  </a>
                </xsl:when>
                <xsl:otherwise>
                  <a>
                    <xsl:attribute name="href">
                      <xsl:value-of sele