cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: XincludeSAXconnector
Date Sat, 05 May 2001 20:42:29 GMT


On Sat, 5 May 2001, Torsten Curdt wrote:

> > > > Can anyone mail/post an exmaple for the XIncludeSAXconnector?
> > > > I don't really understand how this thing works.
> >
> > I'm working on a sample which shows how to use it but IIRC the element
> > is like:
> >
> >   <anyroot xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
> >     <xinclude:include src="foobar"/>
> >   </anyroot>
> >
> > where the foobar from the src attribute denotes a url from the sitemap.
> > For the other attributes please look at
> > src/org/apache/cocoon/components/saxconnector/XIncludeSAXConnector.java.
>
> A that's easy :))
>
> But at what stage happens the include? Right inside the generator?
> When is the sub pipeline created?
> I wonder if it is possible to dynamically change the src attribute.

:) Transparently, as we said. As soon as those elements appear in the
pipeline.

Giacomo


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


Mime
View raw message