cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] another bug in aggregating stuff
Date Tue, 24 Apr 2001 20:36:10 GMT


On Tue, 24 Apr 2001, Berin Loritsch wrote:

> Donald Ball wrote:
> >
> > hey guys. it seems that when you load a aggregate part:
> >
> > <map:part src="meta.xsp" element="meta" ns="http://intranet.webslingerZ.com/xml/site/v1"/>
> >
> > that the namespace specified becomes the default namespace for the
> > included document, not just for the newly created element. that can break
> > stylesheets. i'd say that the namespace should only apply to the element.
> > others?
>
> It yeilds
>
> <meta xmlns="http://intranet.webslingerZ.com/xml/site/v1">
>   <!-- included stuff -->
> </meta>
>
> are you proposing something along the lines of this?
>
> <meta xmlns:meta="http://intranet.webslingerZ.com/xml/site/v1">
>   <!-- included stuff -->
> </meta>
>
> The Namespace is optional, and it opperates as you would expect it to.
> I would like to declare namespaces like the second example (xmlns:foo)
> for aggregated content--I think that would be useful.

Well, I don't know how to do that at the moment but feel free to
implement it if you know how :/ .

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