http://www.rfc-editor.org/rfc/rfc3741.txt
RFC 3741: Exclusive XML Canonicalization, Version 1.0, J. Boyer, D. Eastlake 3rd, J. Reagle2004-03-01T23:00:00-00:00Canonical XML specifies a standard serialization of XML that, when applied to a subdocument, includes the subdocument's ancestor context including all of the namespace declarations and attributes in the "xml:" namespace. However, some applications require a method which, to the extent practical, excludes ancestor context from a canonicalized subdocument. For example, one might require a digital signature over an XML payload (subdocument) in an XML message that will not break when that subdocument is removed from its original message and/or inserted into a different context. This requirement is satisfied by Exclusive XML Canonicalization. This memo provides information for the Internet community.