Re: [xsl] What data needs to be enclosed in CDATA tags?

Subject: Re: [xsl] What data needs to be enclosed in CDATA tags?
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 21:49:56 +0200
Hi,

I do not see a problem. Using method text, the characters will simply be outputted as the plain characters. Using methods xml and html will result in the appropriate entities (I mean &lt; &gt; &apos; &quot; and &amp;). Just don't use 'disable-output-escaping="yes"'.. :-)

Cheers,
Geert


Hi,

If I'm storing data that may contain encoded versions of <>&" and ', do I need to store that data in CDATA sections or am I misunderstanding the role of CDATA?

In other words, during a transformation new elements may be created and the content of the new elements may contain encoded entities such as &gt; &lt; &quot; &#039;. The documents all use utf-8 encoding. Can anyone foresee any problems with this?

Thanks in advance.

Ted Stresen-Reuter



-- Drs. G.P.H. Josten Consultant



Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.


Current Thread