[oXygen-user] xslt & cdata
Imsieke, Gerrit, le-tex
gerrit.imsieke at le-tex.de
Wed Jul 17 08:35:41 CDT 2013
Is the style element in a namespace and is there a namespace prefix for
this namespace, e.g., 'svg'? Then try cdata-section-elements="svg:style".
On 17.07.2013 15:15, Reaves, Timothy wrote:
> I'm transforming an SVG, and the SVG has a style node. The contents are
> in a CDATA wrapper. The CDATA wrapper is being stripped in the copy.
> I've added the line
>
> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
> cdata-section-elements="style"/>
>
> to my stylesheet, but, the output still has the CDATA wrapper stripped.
>
> Would anyone know why?
More information about the oXygen-user
mailing list