+ <xsl:variable name="has_fulltext">
+ <xsl:choose>
+ <xsl:when test="marc:datafield[@tag='856']/marc:subfield[@code='q']">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:when test="marc:datafield[@tag='856']/marc:subfield[@code='i']='TEXT*'">
+ <xsl:text>yes</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>no</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+