在xsl模板中,当条件表达式为多个条件时,需要用到:and (和) or (或)
<xsl:choose>
<xsl:when test="SERVICEIDS/PERSONHEADCRSCHANGED='Y' and SERVICEIDS/PERSONTAXINFOCHANGED='Y'">
<xsl:for-each select="SERVICEIDS/PERSONTAXINFOS/PERSONTAXINFO">
<fo:block height="10pt" padding-left="4pt" padding-bottom="3pt" language="ZH">
<xsl:value-of select="STR" />
</fo:block>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<fo:inline></fo:inline>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="SERVICEIDS/PHHEADCRSCHANGED='Y' or SERVICEIDS/PHTAXINFOCHANGED='Y'">
<fo:block padding-bottom="3pt" >变更内容如下:</fo:block>
</xsl:when>
<xsl:otherwise>
<fo:inline>信息不存在啊</fo:inline>
</xsl:otherwise>
</xsl:choose>