This is equivalent to
<xsl:if test="district_active='1'">
<a>
<xsl:attribute name="href">stuff</xsl:attribute>
<xsl:choose>
<xsl:when test="substring(full_name,1,6) = 'Vacant'">
<xsl:value-of select="'Vacant'" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="full_name" />
</xsl:otherwise>
</xsl:choose>
</a>
</xsl:if>
In 2.0 it reduces to:
<xsl:if test="district_active='1'">
<a href="stuff">
<xsl:value-of select="
if (substring(full_name,1,6) = 'Vacant')
then 'Vacant' else full_name"/>
</a>
</xsl:if>
Michael Kay
http://www.saxonica.com/