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: http://wiki.apache.org/cocoon/CInclude ------------------------------------------------------------------------------ * 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 === {{{ <cinclude:include - 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 {{{//*[local-name()='body']/*}}} where {{{body}}} is the node name.