|
Hi!
I'm Fabrizio from Italy,
I'm developing an application using Xalan java 2,
in particular I need to process an XML document with an Xsl stylesheet,but I
need the CDATA Sections in the XML source
document not to be processed by Xalan because they must remain in the resulting
XML document.
I know that with the <xsl:output
cdata-section-elements="element-name"/> xsl instruction I can build the
element with CDATA but my problem is that in the XML source there is several
elements with the same name:
<parameter
name="required">false</parameter>
<parameter
name="default"><![CDATA[ value ] ]>
and I
need that only the elemnt with the attribute name=default to be a
CDATA.
I tried to do
<xsl:output cdata-section-elements="parameter[@name='default']"/>
but this dont
work.
It 's possible to set a
property in Xalan that forces the processor not tranform the CDATA
Section?
Thanks
Fabrizio |
- Re: CDATA processing (urgent) FABBriZ
- Re: CDATA processing (urgent) Joseph_Kesselman
