cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: CInclude
Date Fri, 09 Jul 2004 12:01:58 GMT
   Date: 2004-07-09T05:01:58
   Editor: DerekLastname <dhohls@csir.co.za>
   Wiki: Cocoon Wiki
   Page: CInclude
   URL: http://wiki.apache.org/cocoon/CInclude

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -4,7 +4,7 @@
 
 You must:
 
- *  Add CInclude [:Namespace] to your PageElement definition.
+ *  Add CInclude Namespace to your Page Element definition.
  *  Use the cinclude:include element in your page
  *  Add the CInclude transformer to your sitemap component definitions 
  *  Add a CInclude transformer to the pipeline where you used the cinclude:include element
@@ -18,15 +18,15 @@
 You must include the CInclude transformer in your basic sitemap.  From there you
 must include this:
 
-{{{
-<page 
-  xmlns:cinclude="http://apache.org/cocoon/include/1.0">
+{{{
+<page 
+  xmlns:cinclude="http://apache.org/cocoon/include/1.0">
 }}}
 
-to your PageElement.  And this:
+to your Page Element.  And this:
 
-{{{
-<cinclude:include src="include.xml" element="included"/>
+{{{
+<cinclude:include src="include.xml" element="included"/>
 }}}
 
 whereever you wish the content to be included.
@@ -37,17 +37,17 @@
 
  *  element -- element is optional.  It specifies that CInclude should include the entire
element and its children. 
 
- *  prefix -- prefix is optionally used with the element attribute.  If prefix is speficied
then the element will be *included* with the defined [:Namespace].
+ *  prefix -- prefix is optionally used with the element attribute.  If prefix is speficied
then the element will be *included* with the defined Namespace.
 
- *  ns -- ns is optionally used with the element attribute.  If ns is specified then the
element will be *selected* with the defined [:Namespace].  
+ *  ns -- ns is optionally used with the element attribute.  If ns is specified then the
element will be *selected* with the defined Namespace.  
 
  *  select -- select is optionally used instead of the element attribute.  If select is defined
then the elements specified by the [:XLink] formatted string will be included. (available
in 2.1) 
 
 === Example of select attribute ===
 
-{{{
-<cinclude:include
-  src="cocoon:/payment_combo.xml" select="xformpayments/*">
+{{{
+<cinclude:include
+  src="cocoon:/payment_combo.xml" select="xformpayments/*">
 }}}
 
 This would include all children of xformpayments but not xformpayments itself.

Mime
View raw message