in this case enclose CDATA section in <xsl:text 
disable-output-escaping='yes'>

(I'd like to meet a man, who invented this attribute name. I have few 
personal questions for him :)

Yves Samson wrote:

> Hello Pavel,
> 
> thank you for your response. But I will use <xsl:text> to insert comments in
> my output file.
> The <![CDATA[ ]]>-syntax works fine but sablotron still translates < and & as
> &lt; and &amp; so that the browser doesn't consider my comment as comment but
> as content.
> 
> Yves
> 
> Pavel Hlavnicka wrote:
> 
> 
>> Data in the xsl:text element are parsed as any other data. If you want
>> to insert non parsed data, use the CDATA section e.g.:
>> 
>> <xsl:text>
>> <![CDATA[
>> here are unparsed data, may be < and &,
>> initial and trailing newlines are included
>> ]]></xsl:text>
>> 
>> Is it what you mean?
>> 
>> Pavel
>> 
>> P.S.: Thanks for your nice letter, happy new year for you!
>> 
>> Yves Samson wrote:
>> 
>> 
>>> Hello,
>>> 
>>> I used sablotron since begin of october 2000 and I have a big fun to
>>> work with this powerful tool. I will here thank all the developpers of
>>> sablotron and the good and useful support on the mailing list !
>>> 
>>> I have a question related to <xsl:text>.
>>> 
>>> My understanding of the specification is that an expression between
>>> <xsl:text></xsl:text> will not be parsed. Similar to an Inline-Command.
>>> In the fact, Sablotron parsed the expression and discover syntax failure
>>> inside the expression.
>>> 
>>> Is it a bug by sablotron or a mistake on my side ?
>>> 
>>> I wish teh sablotron community a sucessful and happy year 2001.
>>> 
>>> Yves Samson
>>> --
>>> mailto:[EMAIL PROTECTED]
>> 
>> --
>> Pavel Hlavnicka
>> Ginger Alliance Ltd.
>> Prague; Czech Republic


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to