Hi All,
I have a simple xml and iam trying to apply the xsl on the i/p xml to generate the simple o/p xml, but when iam tranformation applies ->the o/p xml getting nested Cdata sections in a single Node.

For Ex :
- <![CDATA[ Content 1 ]]>
- <![CDATA[ Content 2 ]]>
- <![CDATA[ Content 3 ]]>
- <![CDATA[ Content 4 ]]>
Iam using JDK1.4 and here is the My I/P XML
<content>Content 1 Content 2 Content 3 Content 4</content>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes" cdata-section-elements="content"/>
<xsl:template match="root/content">
<xsl:element name="content">
<xsl:value-of select="content" disable-output-escaping="yes"/>

Here is the my java Code
String ip = "ip.xml";
String op = "op.xml";
String xsl="Apply.xsl";
Transformer transformer = tFactory.newTransformer(new StreamSource(xsl));
transformer.transform(new StreamSource(ip), new StreamResult(new FileOutputStream(op)));