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

John D. Heintz jheintz@isogen.com
25 Feb 2003 14:33:56 -0600


I would find the example below to be natural and easy to read, yes.

Just to be specific though, wouldn't that be:
<p tal:content="context/dc:title">Title here</p>

John

On Tue, 2003-02-25 at 14:11, Jim Fulton wrote:
> 
> So let me get this straight. Given what you obviously know about xml
> namespaces, you are telling me that you woould find it natural to see something
> like this:
> 
>    <body tal:namespace="dc zope://zope.app.dublincore">
>       ...
> 
>       <p tal:content="dc:title">Title here</p>
> 
>       ...
> 
>    </body>
> 
> Notice that the connection with xml namespaces is pretty superficial:
> 
> - The namespace prefix is applied inside an attribute value
> 
> - The namspace is declared with a tal attribute, not an xml namespave
>    attribute.
> 
> Also note that this has nothing whatsoever to do with supporting xml
> namespaces.
> 
> 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
> 
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-dev
-- 
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