I managed to figure out why.
It looks like defining the spry namespace inside the top level HTML tag doesn't 
have any impact.
But defining it at the level of let's say a macro that contains some spry code 
works.
So what works is:
<html>
<body>
<div metal:define-macro="SomeMacro" xmlns:spry="http://ns.adobe.com/spry"; >
 <div spry:region="someSpryRegion">
   <p spry:if="'{someRegion::element}' != 'hello'">{someSpryRegion::element}</p>
 </div>
</div>
</body>
</html>

I have to say this could be better explained in the manual.
D

On Wednesday, 30 September, 2009, at 07:34AM, "Damian Kobylinski" 
<damia...@me.com> wrote:
>Hi there
>
>
>I am trying to migrate my pages from a pervious version of TAL.
>The problem I have is the inclusion of SPRY in my pages.
>
>The previous version has no problem with SPRY attributes.
>But the latest version is telling me that there is no namespace for attribute 
>SPRY.
>
>So, I found the DTD entry that validates SPRY:
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
><html xmlns="http://www.w3.org/1999/xhtml"; 
>xmlns:spry="http://ns.adobe.com/spry";>
>
>It still says "There is no namespace declared for prefix of attribute 
>spry:region of element ...".
>No idea why this causes a problem.
>There is absolutely no help about combining multiple namespaces inside the 
>same HTML block.
>I need this to work:
>
><input type="text" value="${phptal_var}" spry:if="i == 1" />
>
>_______________________________________________
>PHPTAL mailing list
>PHPTAL@lists.motion-twin.com
>http://lists.motion-twin.com/mailman/listinfo/phptal
>
>

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to