> > Of course if you're trying to use TEXT output to generate a specific file > > format that absolutely requires CRLF, that's a problem... until/unless we > > reintroduce a way to control this, your best bet may be to put Xalan's > > output through a postprocessor that converts the newlines appropriately. > > Most Unix systems have such a tool these days, to facilitate exchanging > > files with the Unwashed Masses using DOS and Windows. > > > > Right, that is a requirement. Sure, I can pipe through something like perl > -ne 'chomp; print "$_\cM\n";' -- although all xslt would be nice. I'm > playing with defining an xsl:variable EOL of and it works, seems > kind of kludgy. >
I wonder, is it possible to set the line.separator property of the JVM?
