XML encryption is used to ensure confidentiality of XML documents. With XML encryption you can either encrypt the whole XML document or just portions of the document. The .net implementation of XML encryption is totally w3c compliant.
XML encryption scores over transport level security in two areas by ensuring that only certain portions of the document can be encrypted and also ensuring that the document is secure through its lifetime.