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]
Other format: [Raw text]

RE: OK, stupid Q time


Okay... everyone seems to agree that it is <BR/>.
My question then is.. how do you get that BR to be displayed when
translating the XML with a XSL?
For example:
My XML has this
      <paragraph>This is my first <BR/> page</paragraph>
And my XSL has this
	<font color="red"><xsl:value-of select="paragraph"/></font>
But it seems to ignore the <BR/>. I get output like:
	This is my first  page
I set the output to html using:
	<xsl:output method="html"/>
-Tim

-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk]
Sent: Thursday, November 15, 2001 11:47 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] OK, stupid Q time



It's XML: empty BR is <BR/>

_____________________________________________________________________
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

 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]