Re: Empty textarea tag in stylesheet
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: <textarea> <xsl:comment>prevents the textarea collapsing</xsl:comment> </textarea> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ 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