You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/02/24 18:51:58 UTC
cvs commit: xml-cocoon/xdocs xspprocessor.xml
greenrd 01/02/24 09:51:58
Modified: xdocs xspprocessor.xml
Log:
corrected xsp:attribute and xsp:element docs, fixes bug 695
Revision Changes Path
1.12 +5 -9 xml-cocoon/xdocs/xspprocessor.xml
Index: xspprocessor.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/xdocs/xspprocessor.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xspprocessor.xml 2001/01/17 16:02:21 1.11
+++ xspprocessor.xml 2001/02/24 17:51:58 1.12
@@ -902,17 +902,13 @@
</li>
<li>
<code><xsp:element></code><br/>
- This tag is used to dynamically build
- an element when its attribute values
- are not known at compile time
+ This tag is a placeholder only, and does not do
+ anything useful.
</li>
<li>
<code><xsp:attribute></code><br/>
This element is used to dynamically provide
- attribute values for a given element (which
- can be specified statically as markup or
- dynamically by means of
- <code><xsp:element></code>).
+ attribute values for a given element.
This tag is typically used in conjunction
with <code><xsp:expr></code>,
where the substituted expression is
@@ -1126,9 +1122,9 @@
<s3 title="<xsp:element> and <xsp:attribute>">
<p>
- The <code><xsp:element></code> tag
+ The <code><xsp:attribute></code> tag
(which requires a <code>name</code> attribute)
- is used in those cases where the element
+ is used in those cases where the attribute
name is known at compile time, but its
attribute values are not. For example:
</p>