xsl-list
[Top] [All Lists]

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

2005-09-28 12:49:56
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 < > ' " and &). 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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>