Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Concerning comments with relevant white space

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: rene AT c3ismc.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Concerning comments with relevant white space
  • Date: Fri, 12 Nov 2004 05:40:43 -0500

Raynier van Egmond wrote:

Hi All,


I would like to include an application’ version and build related
message in generated XML files.
This “requires correct interpretation of linefeeds and empty lines”.


Is there any way to make this happen. I didn’t find a solution and my
comments are simply wrapped to maxLength defined on the serializer.


It's hard to tell without seeing your documents and source code, but I suspect you should simply not set a max length or indent on the serializer, and everything should be preserved.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page