Thorsten Scherler wrote:
On Thu, 2005-08-11 at 22:54 +0200, Robert Goene wrote:

Hi,

Can you give me some help with the publets? I am trying to call a publet with a cinclude statement, but it is not really working out. I want to include all navigation components with cincludes instead of the aggregate function, for instance:

<cinclude:includexml> <cinclude:src>cocoon://publets/sitetree/default/live/search/dummy.xml</cinclude:src>
</cinclude:includexml>

I am not sure what i am doing wrong. Can you point me in the right direction?



http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html
Try:
 <cinclude:include
src="cocoon://publets/sitetree/default/live/search/dummy.xml"/>

or with xinclude
http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.html
<xi:include
href="cocoon://publets/sitetree/default/live/search/dummy.xml"/>

HTH

My problem is not the cinclude part, but the cocoon protocol. I am not sure if i do understand the call of the internal pipelines yet. Is the location of the xslt file important for the path of the internal cocoon protocol path, as shown above? I do not think this should matter, because i use the absolute cocoon protocol.

Regards, Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to