Subject: [xsl] split cdata with xsl From: Sebastien GRUHIER <sgruhier@xxxxxxxxxx> Date: Fri, 30 May 2003 15:52:21 +0200 |
I'm trying to convert an XML file to another XML file through a XSL file with xalan. My input file has only one CDATA section but the output CDTA is split in mutliple CDATA (size fixed). I'd like to have only one CDATA. I guess there is a way to specify the chunk size but I dont know how. Any idea?
<text><![CDATA[<p align="left"><font size="12"></font><font size="12" face="tahoma" color="#000000">un</font></p><p align="left"><font size="12"><br></font></p>]]></text>
<xsl:template match="/"> <CONTENT TYPE="text/html"> <xsl:value-of select="text"/> </CONTENT> </xsl:template >
and The output: <?xml version="1.0" encoding="ISO-8859-1"?> <CONTENT TYPE="text/html"><![CDATA[<p align="left"><font size="12">]]><![CDATA[</font><font size="12" face="tah]]><![CDATA[oma" color="#000000">un</font></]]><![CDATA[p><p align="left"><font size="12]]><![CDATA["><br></font></p>]]></CONTENT>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] setting an URIResolver - who , Robert Koberg | Thread | RE: [xsl] split cdata with xsl, Jim Fuller |
[xsl] ANN: Scriptura 1.2, Klaas_Bals | Date | [xsl] passing node-set through mult, silvan |
Month |