When documenting XML, the use of XML-within-XML has a few sharp edges:
Well-formedness of fragments.
Document type declarations.
Namespace declarations.