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


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

Hope this helps.

Freelance consulting and training.
Eric van der Vlist  
(W3C) XML Schema ISBN:0-596-00252-1

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