Le Tue, 30 Apr 2002 16:30:43 +0300, Avi Kivity a écrit:

>I'd like to perform content inclusion using XInclude, for example:
>
><xsp:page ...>
>
>   <some>
>      <element>
>          <hierarchy>
>              Incldue some stuff:
>              <xi:include href="coccon://some/content.xsp"/>
>          </hierarchy>
>          Include more stuff:
>          <xi:include href="coccon://some/more/content.xsp"/>
>      </element>
>   </some>
>
></xsp:page>
>
>I've patched XIncludeTransformer.java to allow it to include absolute 
>URLs, however this is not enough. Apparently there is no URL protocol 
>handler for the cocoon: (or the context:) protocols.
>
>Can anyone point me in the right direction? I'd rather nor use the 
>sitemap aggerergator as it's:
>   inflexible - can't get the nesting right
>   not meaningful - I want to include subcontent, not aggregate
>
>Thanks,
>Avi
>

Use cinclude instead. cocoon:/ works great!.


-- 
"Black holes are where God divided by zero." - Steven Wright

MaT|TaM

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

Reply via email to