You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Olivier Billard <ob...@rennes.jouve.fr> on 2003/10/22 15:39:05 UTC

Cut root element in CInclude inclusion ?

Hi all !

The doc and javadoc aren't very clear : is there a way to cut the root element of an xml 
fragment included via the CInclude transformer ? I read there is an attribute for 
surrounding the content by an element, but not for cutting the root element.

Thanks for your answers !

-- 
Olivier BILLARD



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cut root element in CInclude inclusion ?

Posted by Olivier Billard <ob...@rennes.jouve.fr>.
Ok thanks Joerg !
I'll try this.

On 23/10/2003 22:20, Joerg Heinicke wrote:

> On 22.10.2003 15:39, Olivier Billard wrote:
> 
>> Hi all !
>>
>> The doc and javadoc aren't very clear : is there a way to cut the root 
>> element of an xml fragment included via the CInclude transformer ? I 
>> read there is an attribute for surrounding the content by an element, 
>> but not for cutting the root element.
> 
> 
> No, there is not. Sitemap aggregation cuts elements optionally. XInclude 
> can prevent any element from being included by using XPointer.
> 
> Joerg



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cut root element in CInclude inclusion ?

Posted by Joerg Heinicke <jh...@virbus.de>.
On 22.10.2003 15:39, Olivier Billard wrote:

> Hi all !
> 
> The doc and javadoc aren't very clear : is there a way to cut the root 
> element of an xml fragment included via the CInclude transformer ? I 
> read there is an attribute for surrounding the content by an element, 
> but not for cutting the root element.

No, there is not. Sitemap aggregation cuts elements optionally. XInclude 
can prevent any element from being included by using XPointer.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org