xsl-list
[Top] [All Lists]

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

2004-12-13 10:11:05
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.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Thomas Keegan <thomas(_dot_)keegan(_at_)moneymate(_dot_)com>
Sent:     Mon, 13 Dec 2004 16:57:32 -0000
To:       "'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] MSXML -> XSLT -> and bloody \r\r\n and where do they come from? 
a nd what can I do about it!

In my XSLT I want to convert an XML file in to text (csv) but a problem I'm
getting is that when I want to put in a Carriage Return(\r) Line Feed(\n).
No matter what I try I always get \r\r\n which is causing a problem with our
import app.

I've tried all of these but with no luck. With the '& #13;' and '& #10;'
there is no space in the middle


<xsl:output method="text" encoding="UTF-8" version="1.0"/>

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


**********************************************************************
For more information on MoneyMate please visit our web site
at http://www.moneymate.com

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.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>
--~--




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