From: Bob Hutchison Date: 2002-05-16T03:24:56+09:00 Subject: Re: ANN: REXML 2.3.3 On 5/15/02 12:53 PM, "David Alan Black" wrote: > Hi -- > > On Thu, 16 May 2002, Rich Kilmer wrote: > >>> From: Sean Russell [mailto:ser@germane-software.com] >>> >>> How do you want >>> >>> BCBB Either C or (ugh) C or any number of other variations. These don't add white space. Careful about the whitespace rules in XML you cannot break up " C does not introduce white space unless and are defined to have mixed content. >> >> >> CB >> B >> >> >> Rule: If all there is between tags is pure white space and sub-tags use >> CR otherwise, don't change the formatting. >> >> Thoughts? > > My feeling is that if you're doing pretty-printing, then you've > already decided to mess with the whitespace (based on what you expect Not necessarily :-) > the processors to do). So, at the other extreme.... > > > > > C > > > > B > > > > which looks weird because the element names and content are all so > short :-) but that kind of layout I find more helpful in the ways I > want pretty-printing to be helpful. > > > David