[DAISY] Updated: Tags

[email protected]
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>&lt;jx:element name="AttributeName" [uri="NamespaceUri"] [prefix="Prefix"]&gt;
      ...
(6 equal lines skipped)
    
    <p>For example,</p>
    
--- <pre>&lt;jx:element name="AttributeAndChildNode"&gt;
+++ <pre>&lt;jx:set var="name" value="AttributeAndChildNode"/&gt;
+++ &lt;jx:element name="${name}"&gt;
      &lt;jx:attribute name="attribute" value="attr"/&gt;     
      &lt;ChildNode&gt;A&lt;/ChildNode&gt;
    &lt;/jx:element&gt;</pre>
(81 equal lines skipped)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.