normalizeForCompare

fnstring normalizeForCompare(XmlNode node, bool includeComments = false) @safe

Produces a deterministic normalization of a DOM subtree.

Parameters

nodeRoot node.
includeCommentsIf true, include comment nodes.

Returns

Normalized string form suitable for comparisons.