Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html
index e161a7e..5808092 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/loadContentTag.html
@@ -42,7 +42,6 @@
</TR>
</TBODY>
</TABLE>
-<exists node="tag/attribute use='required'">
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -54,7 +53,6 @@
</TR>
</TBODY>
</TABLE>
-</exists>
<HR>
<TABLE border="1" width="100%">
<TBODY>
@@ -80,9 +78,13 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin loadContent example -->
-
- &lt;c:loadContent var=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &lt;%-- Load an in memory XML document. $myXML is the document root,
+ $myXML/root is the root element --%&gt;<BR>
+ &lt;c:loadContent var=&quot;myXML&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;root&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a name="one"/&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a name="two"/&gt;<BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;&lt;/root&gt;<BR>
&lt;/c:loadContent&gt;
<!-- End loadContent example -->
</SPAN></TD>

Back to the top