O
ofuuzo1
I have an output xml doc that includes a CDATA section. The CDATA
section is static. so my XSLT template looks something like;
<xsl:stylesheet..>
<xsl:template..>
<![CDATA[<item1>]]>
.....
of course, there is some transformation in other parts of the
document, but I need the CDATA section to simply be copied as text to
the output doc. I have tried xsl:text, xsl:copy, but nothing seems to
work, they all strip the CDATA and write out just
<item >
I need help.I am using php5 + dom.
Thanks
Ofuuzo
section is static. so my XSLT template looks something like;
<xsl:stylesheet..>
<xsl:template..>
<![CDATA[<item1>]]>
.....
of course, there is some transformation in other parts of the
document, but I need the CDATA section to simply be copied as text to
the output doc. I have tried xsl:text, xsl:copy, but nothing seems to
work, they all strip the CDATA and write out just
<item >
I need help.I am using php5 + dom.
Thanks
Ofuuzo