jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-taglibs/xtags/examples/web/test test_if.jsp
Date Fri, 10 Aug 2001 17:57:22 GMT
jstrachan    01/08/10 10:57:22

  Added:       xtags/examples/web/test test_if.jsp
  Added new test harness that works against dom4j 0.91 that demonstrates working XSLT patterns
  Revision  Changes    Path
  1.1                  jakarta-taglibs/xtags/examples/web/test/test_if.jsp
  Index: test_if.jsp
  <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  <%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags" %>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>Test Conditions</title>
  <link rel="stylesheet" href="examples.css" type="text/css">
  <h1>Test conditions</h1>
  <xtags:forEach select="/foo">
  <xtags:if test=".[type='abc']">
  Found type of 'abc'
  <xtags:if test="type='abc'">
  Found type of 'abc' using abbreviated pattern
  <xtags:if test="name()='foo'">
  Name is foo

View raw message