[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: MSXML -> XSLT -> and bloody \r\r\n and where do th

Subject: RE: MSXML -> XSLT -> and bloody \r\r\n and where do they come from? a nd what can I do about it!
From: cknell@xxxxxxxxxx
Date: Mon, 13 Dec 2004 12:11:05 -0500
xslt linefeed
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@xxxxxxxxxx - email



-----Original Message-----
From:     Thomas Keegan <thomas.keegan@xxxxxxxxxxxxx>
Sent:     Mon, 13 Dec 2004 16:57:32 -0000
To:       "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:   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
**********************************************************************

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.