[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 2 questions about textarea
> > 1. If you have an empty value within textarea as: <textarea > > name="a"><xsl:value-of select="nothing"/></textarea> where > > "nothing" is empty. It will output <textarea name="a"/>. I > want <textarea > > name="a"></textarea>. Is there any way to work around this problem? > > Why is this a problem? The two are totally equivalent. You > will be saying > next that > you want the attribute in single quotes rather than double quotes. I suspect it is because he wants to output in HTML format; browsers (particularly of the NS variety) tend to get confused if you don't close your <textarea> tags (ie. with a </textarea> tag) - the rest of the document appears in text form within the textbox. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|