Re: [xslt] <![CDATA[&]]>



Hi,

On Wed, 2002-12-04 at 19:25, Julius Mittenzwei wrote:

> Im quite unsure, what to do. Is there annother possibility to create just a plain "&" ?

It's a feature IMO...

If, as in your example, you don't need well formed XML as an output, you
should use the "text" output method. 

Otherwise, what you are trying to generate isn't well formed XML. You'll
have to fight hard with a compliant XML output method to achieve it and
one might question why you need it :-) !

If you can accept to have your plain "&" output in a CDTATA section, you
can use a cdata-section-elements attribute in your xsl:stylesheet
element.

Hope this helps.

Eric
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]