Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html
index 6563e0c..69f5bec 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/visitTag.html
@@ -44,7 +44,6 @@
</TR>
</TBODY>
</TABLE>
-<exists node="tag/attribute use='required'">
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -52,11 +51,10 @@
<TH colspan="2" align="left">Required Attributes</TH></TR>
<TR>
<TD width="10%">test</TD>
- <TD>TODO Define description of test</TD>
+ <TD><BR> An expression expression, that, if true, causes the tag contents to be evaluated.<BR> </TD>
</TR>
</TBODY>
</TABLE>
-</exists>
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -66,11 +64,13 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin visit example -->
-
- &lt;c:visit test=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to process if tag condition is
- satisfied</I><BR>
- &lt;/c:visit&gt;
+ &lt;%-- traverse a model starting at $root. $cur refers to current node --%>
+ &lt;c:visitor select=&quot;$root&quot; var=&quot;cur&quot;&gt;<br>
+ &lt;c:visit test=&quot;local-name($cur) = 'a'&quot;&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content to process of test is true</I><BR>
+ &lt;/c:visit&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>... other &lt;c:visit&gt; tags ...</I><BR>
+ &lt;/c:visitor&gt;
<!-- End visit example -->
</SPAN></TD>
</TR>

Back to the top