cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Different Processors
Date Thu, 16 Dec 1999 02:14:10 GMT
Donald Ball wrote:
> 
> On Wed, 15 Dec 1999, Steve Muench wrote:
> 
> > The thing that would matter would be
> > the namespace *URI* you pick, not the
> > namespace prefix. Similar to the "xsl"
> > namespace prefix, the three letters
> > "xsl" are the conventional prefix but
> > it will work just fine if you do:
> >
> >   <html xmlns:foobar="http://www.w3.org/1999/XSL/Transform">
> >     <foobar:for-each select="ROWSET/ROW">
> >       :
> >     </foobar:for-each>
> >   </html>
> >
> > if someone's already using "sql" as a prefix
> > they can just use any other convenient prefix
> > as long as they get your namespace URI right...
> 
> Sure, I get that, I was just trying to figure out how SQLProcessor is
> going to figure out which namespace it's going to be using. I guess it can
> look for the xmlns:foo pseudoattribute of the top-level document tag and
> see which value matches itself. That would be nice to build into
> an AbstractProcessor class to make sure everyone does this properly.

Of course. This should be totally transparent.

Donald, you won't write producers anymore, but logicsheets. A bunch of
XSL templates filled with code and XSP tags.

Is this understandable or I should print an example out of my brain
heap?

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



Mime
View raw message