This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trying to put a <BR> in a string parameter



> try to add disable-output-escaping="yes" to your select
If you need to do that then 99 times out of 100 it is because you are
doing something wrong.

In particular you should not do

> <xsl:value-of select="'&lt;br/&gt;'" disable-output-escaping="yes"/>

you should do <br/>
which is simpler and will work on any XSL engine
(disable-output-escaping is not guaranteed to work anywhere) 

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]