cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishna, Hari \(FTT-CInternet\)" <HKris...@Templeton.com>
Subject RE: [Cocoon Wiki] Update of "CInclude" by GerritGriebel
Date Wed, 26 Sep 2007 06:43:52 GMT
unsubscibe@cocoon.apache.org

-----Original Message-----
From: Apache Wiki [mailto:wikidiffs@apache.org] 
Sent: Wednesday, September 26, 2007 12:12 PM
To: docs@cocoon.apache.org
Subject: [Cocoon Wiki] Update of "CInclude" by GerritGriebel

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
{{{//*&#91;local-name()='body'&#93;/*}}} where {{{body}}} is the node
name.
  
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

Mime
View raw message