This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Empty elements
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Empty elements
- From: "Jason Macki" <jmacki at iisd dot ca>
- Date: Tue, 30 Oct 2001 08:45:56 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
When an XSLT stylesheet generates an empty element with an opening and a
closing tag, like this:
<textarea></textarea>
The transformation produces a single empty tag like this:
<textarea />
However, browsers expect an opening and closing tag for "textarea", even
if it contains nothing.
Is there any way to force XSLT to generate an empty element with an
opening and closing tag, rather than a single empty tag?
Thanks,
Jason
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list