[albatross-users] XML and Albatross templates?

Frederick Polgardy Jr fred at polgardy.com
Thu May 5 13:28:59 EST 2005


On Wednesday 04 May 2005 21:51, Andrew McNamara wrote:
> As people are probably aware, some aspects of Albatross templating
> prevent XML validation of the source - specifically the <al-else> tag:
>
>     <al-if expr="..."> ...  <al-else> ...  </al-if>
>
> There's no way to balance that <al-else> (normally empty tags would be
> written <al-else/>, but that doesn't reflect what's happening here).

I forget how it goes off the top of my head, but investigate the Jakarta 
Struts logic tag library.  I know there is an if/then/else type tag 
structure, and I'm relatively certain it's valid XML.

The "anytag" scheme looks sweet, count me in.



More information about the Albatross-users mailing list