xsl-list
[Top] [All Lists]

RE: CRLF in xslt in Firefox and IE

2005-07-06 14:54:03
Hi Manfred,

You'll need to pass in a parameter that tells you which browser the client
is using.

Cheers,
Pieter

-----Original Message-----
From: Manfred Staudinger [mailto:manfred(_dot_)staudinger(_at_)gmail(_dot_)com] 
Sent: Wednesday, July 06, 2005 4:31 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] CRLF in xslt in Firefox and IE

What do you mean by see LF? 
I used a test in the xlst like
      <xsl:when test="contains($string, '#xD;#xA;')"> gives true on IE-6 and
false on Firefox; wherus
      <xsl:when test="contains($string, '#xA;')"> gives true on both for the
same input xml.

Manfred

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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