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

DOS File format from transform on UNIX machine

Subject: DOS File format from transform on UNIX machine
From: Camilla Clifford <cclifford@xxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jun 2001 16:56:27 +0100
dos file format
I'm trying to generate a text file in DOS file format using an xsl transform
which is carried out on a unix box.  My primary concern is to provide a
readable file, with line breaks, to view in a basic text editor such as
notepad. 

I've tried inserting the carriage return and line feed characters using:

<xsl:variable name="dosLineFeed"><xsl:value-of
select="concat('&#13;&#10;')"/></xsl:variable>

which does insert a carriage return and line feed, but this still isn't
recognized by notepad. 

Is there any way to replicate the effect of the 'unix2dos' command within
xsl ?

I'm using xalan_1_0_1/xerces_1_3

cheers
Camilla

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.