ddn.data.xml.internal.compare

Internal: DOM normalization and comparison helpers for tests.

This module is not part of the public API and may change at any time.

Functions 2

fnstring normalizeForCompare(XmlNode node, bool includeComments = false) @safeProduces a deterministic normalization of a DOM subtree.
fnbool equivalent(XmlNode a, XmlNode b, bool includeComments = false) @safeCompares two DOM subtrees for structural equivalence using canonical normalization.