Python embedded like PHP

Andrew McNamara andrewm at object-craft.com.au
Thu Mar 21 19:37:38 EST 2002


>> The intention is that Albatross templates be valid XML - while Albatross
>> will do the expected thing in the example you give above, it generally
>> provides a "better" way, such as:
>> 
>>         <al-img expr="something">
>
>Do you mean that you have a template tag for every kind of tag for which
>you would want to modify an attribute?  That's every single HTML tag --
>IMG is hardly the only one.  A dynamic CSS class attribute, for
>instance, or events (onMouseOver, etc), id tags, background colors...
>there's a million possibilities.

No, we don't, although we're considering some options (such as abusing
the XML namespace - for example: <al-img expr:src="something"> - thoughts?

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/




More information about the Python-list mailing list