Good Day,
I have the following XSLT code -
The following part -
seems to break it.
Any suggestions?
Regards,
Dan
I have the following XSLT code -
Code:
<xsl:variable name="database" select="autn:content/DOCUMENT/DREDJDBNAME"/>
<xsl:variable name="autnsummary" select="autn:summary"/>
<xsl:variable name="summaryr" select="autn:content/DOCUMENT/SUMMARY_R"/>
<xsl:choose>
<xsl:when test="$database = 'sitesearch' or contains($database,'podcast') or contains($database,'video') or contains($database,'pdf') or string-length($autnsummary) < 1 ">
<context-summary><xsl:value-of select="$summaryr" /></context-summary>
</xsl:when>
<xsl:otherwise>
<context-summary><xsl:value-of select="autn:summary" /></context-summary>
</xsl:otherwise>
</xsl:choose>
The following part -
Code:
string-length($autnsummary) < 1
Any suggestions?
Regards,
Dan