Re: [xsl] xml and xslt to html attribute problems

Subject: Re: [xsl] xml and xslt to html attribute problems
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Wed, 29 Oct 2003 11:13:44 +0200


Michael Olszynski wrote:
Hello, I want to use sth. like

<topic name="Mygreatlongword<br>onabeautifulmorning">

Thats not XML. But



<topic name="Mygreatlongword&lt;br&gt;onabeautifulmorning">


is OK and using


<td>    <xsl:value-of select="@name"/>
</td>


will produce


<td>
   Mygreatlongword
   <br>
   onabeautifulmorning
</td>

You may want to read about predefined XML entities. -- Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/

http://www.netsmart.gr
mbatsis at netsmart dot gr
(+30) 210 33 02 608
(+30) 210 33 02 658
http://forte.netsmart.gr/foaf/manos_foaf.rdf




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



Current Thread