[Zope3-dev] Re: Better access to APIs in paths (was Re: needingviewsclues - template/title troubles)

John D. Heintz jheintz@isogen.com
25 Feb 2003 15:36:06 -0600


True, the URI has to map to code.

I am thinking of the XSLT Extension Function mechanism. Here the
namespace is just shorthand for a qualified class...

See
http://saxon.sourceforge.net/saxon6.5.1/extensibility.html#Writing-extension-functions

John

On Tue, 2003-02-25 at 15:32, Jim Fulton wrote:
> Jim Fulton wrote:
> > John D. Heintz wrote:
> > 
> >> How do custom extensions get registered? I certainly would mind if some
> >> namespace-things were pre-included, but what about "plone:" for example?
> > 
> > 
> > There would be a registration mechanism for this, both from zcml and
> > TTW.
> > 
> > A product could provide it's own namspaces as long as they didn't conflict
> > with anyone elses.
> 
> I should note that you need a registration mechanism in any case.
> With an xml-namespace declaration, someone has to hook up the URI
> with some Python code.
> 
> Jim
> 
> -- 
> Jim Fulton           mailto:jim@zope.com       Python Powered!
> CTO                  (888) 344-4332            http://www.python.org
> Zope Corporation     http://www.zope.com       http://www.zope.org
> 
-- 
John D. Heintz | Senior Developer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.380.0347 | jheintz at isogen.com

http://www.isogen.com