xsl-list
[Top] [All Lists]

Re: CDATA element in XSL?

2003-10-28 05:00:25
I guess that you want to *generate* CDATA sections as result of an xslt
transformation.

If so, then read about the "cdata-section-elements" attribute of the
xsl:output element.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL



"Flemming Jønsson" <flj(_at_)systematic(_dot_)dk> wrote in message
news:87CB596F8208574CA9EE562CE575EF87048245(_at_)hulk(_dot_)systematic(_dot_)local(_dot_)(_dot_)(_dot_)
Is there a way I can tell my XSLT processor not to interpret "<" "&" etc.
As special characters?

I know I can put CDATA element around the part in XML which I do not want
interpreted. But if there is a way to indicate this in the stylesheet I
would prefer this approach.

Where would I put a CDATA declaration like this <![CDATA[ & <> [] ]]> in
an XSL file?

Cheers,
Flemming



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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