also sprach Sidnei da Silva <sidnei@x3ng.com> [2003.01.29.1326 +0100]:
I may be wrong, but I think you want something like this:
<a href="#" tal:attributes="href person/homepage" tal:omit-tag="person/homepage"> <span tal:replace="person/name" /> </a>
This works, but it also causes the contents (person/name) to be omitted. I would like the <span> tag to stay and just have the <a> tag around it iff person/homepage is non-empty. -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc "an intellectual is someone who has found something more interesting than sex." -- edgar wallace