[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Empty textarea tag in stylesheet

Subject: Re: Empty textarea tag in stylesheet
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 16 May 2002 18:03:33 +0100
empty textarea xsl
Hi Charles,

> If the issue isn't immediately clear, let me explain. When the
> parser collapses an empty textarea tag set (<textarea></textarea>
> becomes <textarea />), the browser simply puts all of the document
> beyond that point into the textarea and displays it as literal,
> rather than parsing it as HTML markup.

Have you tried:

  - setting the *output method* to 'html' (which is different from
    setting the media-type to text/html) -- set the method attribute
    of xsl:output to 'html'

  - creating a comment between the two textarea tags:

      <xsl:comment>prevents the textarea collapsing</xsl:comment>



Jeni Tennison

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.