cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cocoon Wiki] Update of "CInclude" by GerritGriebel
Date Wed, 26 Sep 2007 06:41:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by GerritGriebel:

   *  select -- If select is defined then the elements specified by the [:XLink] formatted
string will be included. (available in 2.1) 
- === Example of select attribute ===
+ === Example of select and element attribute ===
-   src="cocoon:/payment_combo.xml" select="xformpayments/*">
+   src="cocoon:/payment_combo.xml" element="payments" select="xformpayments/*">
- This would include all children of xformpayments but not xformpayments itself.
+ This would include all children of "xformpayments" but not "xformpayments" itself, instead
the root element will be "payments".
  Hint: If your {{{select}}} is returning empty but you're sure you're naming the right nodes
you may be selecting from the wrong namespace. When selecting nodes from the document's default
namespace (as with most xhtml documents) try selecting the node with {{{//*&#91;local-name()='body'&#93;/*}}}
where {{{body}}} is the node name.

View raw message