xslの出力は「xml」です
サンプル XML を取得して、それを XSLT の出力と比較する方法はありますか? 以下の単体テストの書き方の例を教えてください。
<xsl:variable name="variableA">
<xsl:choose>
<xsl:when test="normalize-space(field1)='1' and $variableB and
(translate(normalize-space($variableC), $ucletters,$lcletters)='x' or
translate(normalize-space($variableC), $ucletters,$lcletters)='y')">
<xsl:text>5</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>6</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>