Re: [xsl] wierd textarea behaviour with xsl

Subject: Re: [xsl] wierd textarea behaviour with xsl
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Nov 2002 15:56:36 GMT

> The problem lies in the fact that the <textarea> tag is not being closed 
> properly if there is no value 
Note that XSLT does not work woith tags, it works with elements (element
nodes).

If you are using the xml output method then an empty  text area element can
either be written out as <textarea/> or <textarea></textarea>
But both of those are "proper" XML. However if you are writing html for a
browser then you don't want XML at all, you want html, and teh html
output will never use the /> syntax for empty elements.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread