cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: OFF-TOPIC? Including an XML file in another one
Date Wed, 19 Jul 2000 20:07:12 GMT
On Wed, 19 Jul 2000, Olivier Richaud wrote:

> I'm trying to define an xml page that is in fact an aggregation of several
> other XML pages. What I want to do, is to consider those XML pages as XML
> datasources that will be inserted in the top XML page. For example, my page
> should look like:
> 
> <page>
>  <data-source src="ds1.xml"/>
>  <data-source src="ds2.xml"/>
> </page>
> 
> The data-source tag points to another XML file that should be inserted. For
> example, ine the ds1.xml file, I could find paragraphs:
> 
> <paragraph>
>  Foo bar, Foo bar,....
> </paragraph>
> 
> Is there anyone with a solution for this? Anything which is Cocoon compliant
> is welcome, that is using XSL, XSP, ....

1. use xinclude processor
2. use util:include-uri logicsheet
3. use external entities
4. use xslt document() function

- donald


Mime
View raw message