Hi,
In my source document, I have
<answer correctness="0">
…
</answer>
and in my result document, I want to output an attribute "isCorrect='false'" if the above "correctness" attribute is equal to "0" and "isCorrect='true'" otherwise. So the above would appear as
<answer isCorrect="false">…</answer>
I'm having trouble figuring out how I write the above in template form …
<xsl:template match="answer">
<answer isCorrect="???"></answer>
</xsl:template>
Thanks for any help, - Dave