Tue, 17 Dec 2002 17:53:22 +0100
What I thought of is:
Don't add whitespace to elements which content model is mixed or PCDATA.
This wouldn't be as nice as Pretty but would only add ignorable whitespac=
> No. A pretty printer is expected to produce output that may have diffe=
> white space usage from a plain printer. This is the whole point of a
> pretty printer. If you don't like that effect, then you should use a p=
> printer. Can't really have it both ways unless you design a pretty prin=
> specific to your own format.
> I think you may be able to get closer to what you want with
> PrettyPrint(root, preserveElements=3D["raw"])
> But I'm not sure that it gets you all the way.