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 22:34:12 GMT


On Tue, 24 Apr 2001, Berin Loritsch wrote:

> Donald Ball wrote:
> >
> > On Tue, 24 Apr 2001, Berin Loritsch wrote:
> >
> > > 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>
> >
> > that is correct.
> >
> > > 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.
> >
> > um, well, no, i have some elements in my included pages that have no
> > namespace - and that's the way i'd like them to remain once they're
> > included into the virtual document. i makes it easy for my intermediate
> > stylesheets to determine what elements they have to operate upon.
> >
> > i guess this'll be a moot point for me, once we are able to use map:part
> > without specifying a root element for the root element, but i still think
> > that the latter option makes more sense.
>
> I agree.  And when I said that the ns="" attribute opperates as expected,
> I meant that it opperates like the xmlns="" would.
>
> I think that it would be beneficial to declare ns:foo="http://bar.com/foo"
> in the map:part element to get what we want.

Ok, I've added a optional prefix attribute to the map:aggregate as well
as the map:part elements.

Please take a look at it. I'm not sure I've hit the right way populating
the namespaces down the tree.

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