[DAISY] Updated: Tags
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1391.html
Document ID: 1391
Branch: main
Language: default
Name: Tags (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 6/23/08 12:23:53 PM
Updated by: Kamal Bhatt
A new version has been created, state: draft
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 18217 bytes (previous version: 18152 bytes)
Content diff:
(518 equal lines skipped)
<h2>element</h2>
--- <p>As of Cocoon 2.2.1, the <tt>element</tt> tag allows the dynamic addition of
--- element. This includes the dynamic specificatgion of the element name.</p>
+++ <p>As of version 1.2.0 of the template block, the <tt>element</tt> tag allows
+++ the dynamic addition of element. This includes the dynamic specification of the
+++ element name.</p>
<pre><jx:element name="AttributeName" [uri="NamespaceUri"] [prefix="Prefix"]>
...
(6 equal lines skipped)
<p>For example,</p>
--- <pre><jx:element name="AttributeAndChildNode">
+++ <pre><jx:set var="name" value="AttributeAndChildNode"/>
+++ <jx:element name="${name}">
<jx:attribute name="attribute" value="attr"/>
<ChildNode>A</ChildNode>
</jx:element></pre>
(81 equal lines skipped)