example comparing: test3 different attribute value

basic-control-file: cmp3.xml
<?xml version="1.0" encoding="ISO-8859-2"?>
<delivery>
	<list_person >
		<person                 cmp_att_id="true">
			<firstname      ident_text="true"   />
			<name           ident_text="true"   />
		</person>
	</list_person>
</delivery>
explanation

Identifying elements are <firstname> and <name;>. The attribute "id" of <person> should be compared. The "id" is different at <person> "Fischer".

comparison result:

  • list of differences (Xml Html)
  • differences in xml-context
    • all data + differences (Xml Pdf)
    • only differences (Xml Pdf)
file: test3a.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person id='588520'>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999-10-04</birthdate>
		</person>
		<person id='588521'>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>1990-01-18</birthdate>
		</person>
	</list_person>
</delivery>
file: test3b.xml
<?xml version='1.0' encoding='ISO-8859-2'?>
<delivery>
	<list_person>
		<person id='2'>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999-10-04</birthdate>
		</person>
		<person id='588521'>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>1990-01-18</birthdate>
		</person>
	</list_person>
</delivery>