This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DOS File format from transform on UNIX machine


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]