XmlCompareUtil..::..GetDifferences Method
Returns a list of human-readable difference descriptions between
a and b, post-prune. Empty list when the
trees are equivalent.
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
Parameters
- a
- Type: XElement
The source tree.
- b
- Type: XElement
The target tree.
- sourceName
- Type: String
Display name for the source tree.
- targetName
- Type: String
Display name for the target tree.
- ownerTypeForFriendlyNames
- Type: Type
Optional. When non-null, the util reflects on this type for DisplayAttribute on the property matching each diff key, and uses that for diff labels. When null, raw element names are used.

