cr/lf options 2007-01-26 - By Carl Hagenmaier
We have some old code that uses XMLSerializer and OutputFormat, which provides the method setLineSeparator(String arg0). The code has some problems, and I'm trying to replace it with code built on javax.xml.transform.Transformer.
Unfortunately, I can't see any way to control the line separator. The archives contain a thread from 2001, which is not encouraging. I'm hopeful that there's been a relevant update. Any suggestions?
-- Carl Hagenmaier <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.3020" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV> <DIV><FONT face=Arial size=2>We have some old code that uses XMLSerializer and OutputFormat, which provides the method setLineSeparator(String arg0).  ; The code has some problems, and I'm trying to replace it with code built on javax.xml.transform.Transformer. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Unfortunately, I can't see any way to control the line separator. The archives contain a thread from 2001, which is not encouraging. I'm hopeful that there's been a relevant update. Any suggestions?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>--</FONT></DIV> <DIV><FONT face=Arial size=2>Carl Hagenmaier</FONT></DIV></DIV></BODY></HTML>
|
|