serializing xml to text and controlling line break character choice

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

serializing xml to text and controlling line break character choice

Alexander Žaťko
I have an XML doc that gets converted to text file using the
text-converter processor. How can I specify the type of line breaks
used during the conversion from XML to text? I need the line breaks to
be line feeds (10), but they come out as CR (13).

Any help is appreciated.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: serializing xml to text and controlling line break character choice

Alexander Žaťko
Never mind - the input text files I used for testing were pulled from
my CVS server to Mac using MacCVSX which seems to strip LFs and that
left my test files with just CRs. After I got good "experimental data"
that terminate lines with CRLFs all behaves as expected.

Sorry about the noise.

A.

On Feb 15, 2006, at 12:23 PM, Alexander Zatko wrote:

> I have an XML doc that gets converted to text file using the
> text-converter processor. How can I specify the type of line breaks
> used during the conversion from XML to text? I need the line breaks to
> be line feeds (10), but they come out as CR (13).
>
> Any help is appreciated.
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws