Python embedded like PHP
andrewm at object-craft.com.au
Fri Mar 22 01:37:38 CET 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
More information about the Python-list