jstrachan 01/08/10 11:00:42
Modified: xtags/examples/web/test test_if.jsp
Log:
Updated test case
Revision Changes Path
1.2 +7 -1 jakarta-taglibs/xtags/examples/web/test/test_if.jsp
Index: test_if.jsp
===================================================================
RCS file: /home/cvs/jakarta-taglibs/xtags/examples/web/test/test_if.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- test_if.jsp 2001/08/10 17:57:22 1.1
+++ test_if.jsp 2001/08/10 18:00:42 1.2
@@ -14,7 +14,7 @@
<hr/>
<xtags:parse>
-<foo>
+<foo colour="red">
<type>abc</type>
</foo>
</xtags:parse>
@@ -36,6 +36,12 @@
<xtags:if test="name()='foo'">
Name is foo
+</xtags:if>
+
+<hr/>
+
+<xtags:if test="@colour='red'">
+Colour is red!
</xtags:if>
</xtags:forEach>