Special characters in xsl

Subject: Special characters in xsl
From: Gines Carrillo Cava <gines.carrillo@xxxxxxxxxxx>
Date: Tue, 09 May 2000 19:30:26 +0200
Hi friends;

My problem is the next. I have a xml file like:
<layer_rec>
   <nom_div><![CDATA[altres2]]></nom_div>
   <textcolor_div><![CDATA[CE6700]]></textcolor_div>
   <linkcolor_div><![CDATA[CC6600]]></linkcolor_div>
   <vlinkcolor_div><![CDATA[CC6600]]></vlinkcolor_div>
   <alinkcolor_div><![CDATA[CC6600]]></alinkcolor_div>
   <position><![CDATA[absolute]]></position>
   <left>713</left>
   <top>28</top>
   <width>78</width>
   <height>18</height>
   <zindex>21</zindex>
   <border>0</border>
   <visibility><![CDATA[visible]]></visibility>
   <content><![CDATA[<form method="post" action=""><font
size="2"><select
    name="select" size="1"><option>pirineu

</option><option>yahoo</option><option>altavista</option></select></font></form>]]></content>

  </layer_rec>

When I execute the instruction: <xsl:value-of select="content"> in my
xsl file, which is a variable field, the character < is substituted by
&lt; and the character > is substituted by &gt; and I want the original
characters. I use the lotusxsl_0_8 parser, and the xml4j parser, and the
instruction <xsl:output cdata-section-elements="content"/> generates
error. What can I do?

Thanks for all.

Ginés.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread