xsl-list
[Top] [All Lists]

<empty /> vs <empty></empty?

2005-12-10 20:21:49
Is there any way to control whether empty elements appear as
<empty></empty>, instead of <empty/>?

My problem is that some browsers don't like <div/> or <a name="x"/>, not
recognising that they both begin and *end* there, thinking instead they are
opening tags only.

As a workaround, I believe I can do this:
    <a name="x"><xsl:comment> empty </xsl:comment></a>

e.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--