xsl-list
[Top] [All Lists]

Re: xml and xslt to html attribute problems

2003-10-29 04:40:28

Jarno is right. See http://www.dpawson.co.uk/xsl/sect2/N2215.html#d2878e19


Michael Olszynski wrote:
What is "d-o-e on the xsl:value-of"?
Can you give ma an example of this? I never heard about that before. Perhaps I can use that, too :-)
Thanks in advance Michael

Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com wrote:

Hi,

@Emannuil: <topic

name="Mygreatlongword&lt;br&gt;onabeautifulmorning">
won´t work, because my html output will be <td>Mygreatlongword&lt;br&gr;onabeautifulmorning </td>

No it won't. It'll be

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


It would be if you used d-o-e on the xsl:value-of, but without it the LESS-THAN SIGN will be normally escaped to &lt; or &#x3C;.

Cheers,

Jarno - neuroticfish: velocity (club mix)

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



--
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



<Prev in Thread] Current Thread [Next in Thread>