XSLT - test the value is true or false
Hi,
I am trying to test if the value of Time=Open Date, if yes, then print out Title and price. Can some one tell me how to compare the value? This is what I did, but it did not work.
<xsl:if test="Category/Book/Time='Open Date'"/>
Ex:
<Category>
<Book>
<Title>XSLT</Title>
<Time>Open Date</Time>
<Price>10.88</Price>
</Book>
</Category>
Thanks,
Hx
|