Hi --

On Thu, 16 May 2002, Rich Kilmer wrote:

> > From: Sean Russell [mailto:ser / germane-software.com]
> >
> > 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?

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
the processors to do).  So, at the other extreme....

<a>
   <b>
      <c>
         C
      </c>
   </b>
   <b>
      B
   </b>
</a>

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

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav