[xsl] Can I force XSLT to output the long-form of an element rather than the shorthand form?

Subject: [xsl] Can I force XSLT to output the long-form of an element rather than the shorthand form?
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Fri, 2 May 2003 15:03:38 -0400



>Yes, I know that '<a id="page-1"></a>' and '<a id="page-1" />' are
supposed
>to be equivalent,
>but one of the tools my users use (XMetaL) doesn't.

First thing to check, if you haven't already done so: Make sure your
stylesheet is set to HTML ouput mode, not XML. The /> convention is not
really supported in HTML.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej"  ("Put down the squeezebox and nobody
gets hurt.")


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


Current Thread