Hi,
I'm outputting XML to XHTML using xsltproc. There happens to be a few empty tags in the output (such as <div></div>) but xsltproc outputs them as <div/>. This causes compatibility problems with non-xml browsers (i.e. ALL browsers). Is there an option to output empty elements with an explicit end tag, as in <div></div> ? This is strictly equivalent to <div/>, from an XML point of view, except it actually works!
Of course, if I can keep <br> beeing ouput as <br/> (and not <br></br>)
that would be perfect!
Thanks.
I'm outputting XML to XHTML using xsltproc. There happens to be a few empty tags in the output (such as <div></div>) but xsltproc outputs them as <div/>. This causes compatibility problems with non-xml browsers (i.e. ALL browsers). Is there an option to output empty elements with an explicit end tag, as in <div></div> ? This is strictly equivalent to <div/>, from an XML point of view, except it actually works!
Of course, if I can keep <br> beeing ouput as <br/> (and not <br></br>)
that would be perfect!
Thanks.