You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2000/03/31 22:00:56 UTC

Re: nested xml documents?

On Fri, 31 Mar 2000, Robert Curlee wrote:

> 
> I am reforming my last question to hopefully make my request more
> clear.  I am looking for a way to incude xml documents to parse within
> another xml document.  I realize that an entity is one way to do this. 
> The downfall of this approach is that for every new file created by a
> user, the dtd must be modified to include a new entity for others to
> use.  I would like my users not to have to modify the dtd each time
> someone generates a new xml document which others could include in their
> xml documents.  Also I feel that it is poor code design to create a new
> entity each time a new xml document is written which could be used by
> others within their xml documents.

You probably want to look at the XInclude working draft. I know we're
going to be (re)writing (Pier had one written but then deleted it
accidentally) an XInclude filter for cocoon2. I don't see any reason why
one couldn't write an XInclude processor for cocoon1.

- donald