From: Wolfgang M. <wol...@gm...> - 2009-10-14 06:35:49
|
On Wed, Oct 14, 2009 at 3:29 AM, Michael Sokolov <so...@fa...> wrote: > When generating HTML using eXist, I notice that empty tags, like > > <script lang="javascript" src="xmlhttp.js"></script> > > are collapsed, eg to: <script lang="javascript" src="xmlhttp.js" />, which > doesn't actually work, at least in some browsers. > > How can I prevent empty tags from being collapsed? You should switch the serialization method to "html" or "xhtml": declare option exist:serialize "method=xhtml"; Wolfgang |