No.
>Or must one use indirection or ad-hoc encoding
Yes.
I think that it is probably a good thing that you can always know that an XML document is completely textual.
Paul Prescod