Just in case you’re still abusing XML, here’s some pretty clear advice from back in 2002 from the author of Integration Patterns.

xml