
17 Jul
2013
17 Jul
'13
1:35 p.m.
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?