I'll weigh in here... > -----Original Message----- > From: Sean Russell [mailto:ser / germane-software.com] > Sent: Wednesday, May 15, 2002 12:20 PM > To: ruby-talk ML > Subject: Re: ANN: REXML 2.3.3 > > <posted & mailed> > > Ok, I'm trying to nail this down, so I'd like your feedback. > > You want: > > <a><b>B</b><c>C</c></a> > > turned into > > <a> > <b>B</b> > <c>C</c> > <a> > > This still introduces whitespace between B and C (IE, "BC" becomes "B C"), > but I guess you're OK with that. How do you want > > <a><b>B<c>C</c>B</b><b>B</b></a> <a> <b><c>C</c>B</b> <b>B</b> </a> Rule: If all there is between tags is pure white space and sub-tags use CR otherwise, don't change the formatting. Thoughts? > > to look? > > -- > |.. Life is like an analogy. > <|> > /|\ > /| > |