Reputation: 26257
I'm having issues with this test in xslt
<xsl:if test="(count(dsQueryResponse/Rows/Row) == 0) or (dsQueryResponse/Rows/Row[1]/@Process != '')">
<textarea>
....
</textarea>
</xsl:if>
I'd like to allow the textarea to be displayed if
Upvotes: 0
Views: 150
Reputation: 1968
== is not a valid XPath operator. For testing equality, just use =.
<xsl:if test="(count(dsQueryResponse/Rows/Row) = 0) or (dsQueryResponse/Rows/Row[1]/@Process != '')">
<textarea>
....
</textarea>
</xsl:if>
Upvotes: 5