[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Empty elements


Subject: [xsl] Empty elements
From: "Jason Macki" <jmacki@xxxxxxx>
Date: Tue, 30 Oct 2001 08:45:56 -0600

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



Current Thread
Keywords