This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Empty textarea tag in stylesheet


<xsl:output method='html'/>

This creates <textarea></textarea> with at least msxml3, saxon, sablotron,
and xalan.

Cheers,

Tom P

[Charles Knell]

> I have read over the history of this topic on the list and find the last
> posting was about ten months ago. I have tried all the approaches
suggested
> (e.g., changing the output type to "text/html", putting a #&160; between
> the opening and closing tags) and find that neither of them works. Let
> me be precise on that. Neither of these work with Xalan or the Oracle
> parser. The Microsft parser has no trouble outputting both an opening
> and a closing textarea tag when there is no content, even without changing
> the output type to text/html, but nothing so far has got me around this
> with the Oracle parser, which is required since I am doing the transform
> from a PL/SQL procedure.
>
> 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.
>
> I'm using one stylesheet and a data document to produce a second
stylesheet
> which will, in turn, be combined with a second data document to produce,
> finally, HTML. At this point, the only thing standing in my way is this
> collapsed textarea tag.
>
> I'm hoping that the state of the art has advanced since this subject
> was last raised, and that one of you knows a way to force an empty opening
> and closing tag into the second stylesheet.
>
> Thanks for any light you can shed.
>



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]