Re: Formatting_the_result

Subject: Re: Formatting_the_result
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Mon, 4 Oct 1999 10:10:33 -0500
Quoting David Carlisle <davidc@xxxxxxxxx>:
> > I don't mean to suggest that we should put a
> > full-blown pretty-printer in there, but at least avoid splitting the
> > tags up like it does now.
> 
> Is it clear that there is a prettier way that is valid for an arbitrary
> DTD? Adding the newlines within the tag is always safe, but once you
> decide to add newlines within the content of elements you have to
> fight with the whitespace handling rules of sgml, which is never much
> fun, to check that you are not changing the content of the document
> in the course of pretty printing.
> 
   Well, I only meant to take the newlines out of the tags so that
they look like most people expect them to.  I agree that messing with
the whitespace within the character data is a losing battle.

-Brandon :)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread