I have to strings, each variables ($correctAnswer & $userAnswersAll).
They are both of 225 character length. I can output their string values and string-length. But when I try to compare them together all hell breaks loose.
If even tried comapring the string lengths against each other, still no luck:
<xsl:if test="string-length($correctAnswer) = string-length($userAnswersAll)">
<b>Well done. All correct!!!</b>
</xsl:if>
Any help in this area would be greatly appreciated. Thanks.
See:
http://storm-cloud.cs.cse.dmu.ac.uk:...sql/index.xsql
(Debug off, press check under puzzle. Puzzle contains correct values for testing purposes).