RE: [xsl] MSXML -> XSLT -> and bloody \r\r\n and where do they co me from? a nd what can I do about it!

Subject: RE: [xsl] MSXML -> XSLT -> and bloody \r\r\n and where do they co me from? a nd what can I do about it!
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 13 Dec 2004 11:39:27 -0600
David, I suspect that 

<xsl:value-of select="IndexValue"/>,<xsl:value-of
  select="Action"/><xsl:text>& #10;</xsl:text>
 
Was produced by the postings processor, not by the poster.
See my previous post on how to obtain \r\n.

Cheers,
<prs/>

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Monday, December 13, 2004 11:16 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] MSXML -> XSLT -> and bloody \r\r\n and where do they come
from? a nd what can I do about it!



> Instead of trying to code a carriage return and linefeed, modify your 
> XSLT file. Place the cursor between the opening and closing <xsl:text> 
> tags, and hit the "Enter" key.

That will produce the same input as

  <xsl:value-of select="IndexValue"/>,<xsl:value-of
  select="Action"/><xsl:text>& #10;</xsl:text>
 

as XML parsing of the end of line is well defined.
Whether or not it produces the desired output depends on how the system
linearises end of line in the text output method (which is rather under
specified in xslt 1)

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is powered
by MessageLabs. For more information on a proactive anti-virus service
working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread