cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: FileWritingTransformer
Date Mon, 18 Feb 2002 11:12:11 GMT
Jeremy Quinn wrote:

> >I would filter them out before saving and forget about it.
> I think there could be a simple solution .....
> At the moment, I cache StartPrefixMapping calls from the 'parent' document,
> so I can send them to the 'child' document when it starts up.
> I think this is my mistake ....
> Whatever generates the 'child' document (the part of the 'parent' document
> that gets written out) will issue the appropriate StartPrefixMapping calls
> for that Fragment, no?
> Therefore it is the responsibility of the generator (Stream, Request,
> XInclude, XSLT etc.) to output appropriate NameSpaces for the 'child', it
> is not the 'parent's responsibility.
> I had though that StartPrefixMapping calls are only made at the beginning
> of the Stream, when I set up a few log transformers in the sitemap, it
> became a bit clearer.
> Is this making sense to anyone? ;)

Sounds reasonable to me.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche

To unsubscribe, e-mail:
For additional commands, email:

View raw message