RE: executing XInclude transformer twice

2002-08-08 Thread Conal Tuohy
Ross, you could try using XInclude recursively by Xincluding a cocoon pipeline, rather than directly XIncluding the resource you want. That way you can get the recursion to happen in the sitemap, i.e. the pipeline makes recursive Xinclude calls to itself. The recursion will terminate when there's

RE: executing XInclude transformer twice

2002-08-08 Thread Ross Gardler
> > Predictably, what I get is a document including most of the information > > from the chapter files, but not the included information within each of > > the chapter files. That is, assume background.xml has an xinclude within > > it, this is not translated by the pipeline. > ... > > R

Re: executing XInclude transformer twice

2002-08-08 Thread Ross Gardler
> XInclude is only for including some XML snippets as you have used it. > It's not for recursive use and there is no need for it I think. Use a > technology like XSLT which can do what you want. OK - sounds like an ideal solution, except the transformer is looking for the DTD in the same dire