> I *really* hate anything that changes my code, because chances are I
> know what I'm doing.
well, judging from your post, it's not all that obvious that
you do know what you're doing, at least wrt XML and XHTML.
I suggest reading this before proceeding:
http://www.hixie.ch/advocacy/xhtml
(start with the executive summary)
reading the XML infoset specification may also help. XML (and
XHTML) is an information model, not a wire format. if you're
thinking in wire terms, you're completely missing the point.
</F>