Re: [xsl] xml:space preserve on element converted to html textarea encoding issue

Subject: Re: [xsl] xml:space preserve on element converted to html textarea encoding issue
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Tue, 7 Jun 2011 10:49:51 -0700
> No it isn't. It was allowed in the short-lived XSLT 1.1 working draft, but
> never made it into XSLT 2.0.

Good to know, I'll undo that bit of effort then.
So, I'm back to two stylesheets, one that produces FO and the 2nd that
produces HTML.  No big deal, and I've discovered that there is no need
for forcing a non-breaking space into the textarea when you specify an
output method of html, this correctly builds a textarea element as a
non-collapsed empty element.

Karl..

On Tue, Jun 7, 2011 at 10:29 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> On 07/06/2011 17:33, Karl Stubsjoen wrote:
>>
>> Correction:
>>
>> This is legal:
>>     <xsl:output method="xml" version="1.0" encoding="{$encoding}"
>> indent="yes"/>
>>
> No it isn't. It was allowed in the short-lived XSLT 1.1 working draft, but
> never made it into XSLT 2.0.
>
> Michael Kay
> Saxonica
>
>



--
Karl Stubsjoen
MeetScoresOnline.com
(602) 845-0006

Current Thread