<theRoot> <parent id="Paul"> <child name="Rick" /> <child name="John" age="18"/> </parent> </theRoot>The right file[2]
<theRoot> <parent id="Paul"> <child name="Seena" /> <child name="John" age="22"/> </parent> </theRoot>
id
attribute for nodes which name is parent
name
attribute for nodes which name is child
<nodeRules> <rule> <appliesOn> <nodeName name="parent" /> </appliesOn> <identification> <attribute name="id" /> </identification> </rule> <rule> <appliesOn> <nodeName name="child" /> </appliesOn> <identification> <attribute name="name" /> </identification> </rule> </nodeRules>The comparison will present the following result:
xmldiff Copyright (c) 2024 Herve Girod. All rights reserved.