Re: XML and Albatross templates?
Frederick Polgardy Jr <[email protected]> Wed, 4 May 2005 22:28:59 -0500
| Newsgroups | gmane.comp.web.albatross.general |
|---|---|
| Message-ID | <[email protected]> |
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.