xsl-list
[Top] [All Lists]

RE: how to close html tags : link, meta,...

2003-08-13 09:06:31

of the element. (Alternately, at least when targeting IE, you can
put a meaningless attribute into the sole tag - which seems to
solve the problem although I don't know why.)

-- Tommie

What a good idea (or hack, if this is what you meant) - I've never
considered it, I don't know why...

<div>
  <dummy/>
</div>

Will stop the element being minimised, won't leave spaces all over your
output and won't incur any processing expense.

Although, I still think we should have the option when output="xml" to
choose how empty elements are handled, this will do until output="xhtml"
comes along.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list