[EMAIL PROTECTED] wrote:
I want to dynamically generate an xml catalogue for I18n using XSP. If my translations contain certain characters like '>' or '<' my catalogue xml file will not be valid unless I put every translation text in an CDATA section.
Joerg's point is that < and > will do as well to insert those in the characterstream...
whatever you put in originally as <![CDATA[ will go through the sax-stream as characters, and not as elements
but the serializer will not recreate cdata sections for those since it doesn't now about those any more and more importantly having them or not is just a syntactical-sugar thing
the serializer will however inject the chars by using the correct character-entities
bottom line you don't get cdata but you don't need them, do you?
-marc=
-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 11:29
To: [EMAIL PROTECTED]
Subject: Re: Cdata section in xsp
On 30.03.2004 11:00, [EMAIL PROTECTED] wrote:
Hello,
How can I output a cdata section in an XSP ? I need the disable output
escaping feature of xslt.
First, please do not response to mails from other threads when starting new threads as this breaks thread view in thread-aware browsers.
Second, what exactly do you need it for? Every "normal" character in cdata can be added escaped as normal text and you will have the same at the end. And how shall "disable output escaping feature of xslt" stand in relation to this?
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]