Good Day,
The variable ref contains a value that might or might not contain a period and the following code fails on the last line.
Any ideas?
Regards,
Dan
The variable ref contains a value that might or might not contain a period and the following code fails on the last line.
Code:
<xsl:choose>
<xsl:when test="contains($ref,'.')">
<xsl:variable name="refCut6" select="substring-before($ref, '.')" />
</xsl:when>
<xsl:otherwise>
<xsl:variable name="refCut6" select="$ref" />
</xsl:otherwise>
</xsl:choose>
<xxx><xsl:value-of select="$refCut6"/></xxx>
Any ideas?
Regards,
Dan