Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
License

Default comparison



A default comparison will be used if no Rules configuration is defined.

Default algorithm

  • The default comparison consider that nodes which have the same node name represent the same node[1]
    This is the SameNodeName behavior, see comparison mode for more information
  • If any attribute or CDATA is different for the same nodes between the left and the right, the nodes will be considered updated
  • If the same nodes are not at the same position between the left and the right, the nodes will be considered updated

Notes

  1. ^ This is the SameNodeName behavior, see comparison mode for more information

See also


Categories: core

xmldiff Copyright (c) 2024 Herve Girod. All rights reserved.