This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Special characters in xsl
- To: xsl-list at mulberrytech dot com
- Subject: Special characters in xsl
- From: Gines Carrillo Cava <gines dot carrillo at tecn dot upf dot es>
- Date: Tue, 09 May 2000 19:30:26 +0200
- Reply-To: xsl-list at mulberrytech dot com
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
< and the character > is substituted by > 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