example comparing: test6 detail-elements identifying upper row

basic-control-file: cmp6.xml
<?xml version="1.0" encoding="UTF-8"?>
<delivery>
	<list_person>
		<person>
			<name                            ident_text="true" />
			<firstname                       ident_text="true" />
			<list_adresse>
				<adresse                 ident_master="true">
					<residence       ident_text="true"/>
					<street          ident_text="true"/>
					<hsnr            ident_text="true"/>
				</adresse>
			</list_adresse>
			<birthdate                       cmp_text="true" />
		</person>
	</list_person>
</delivery>
explanation

The adress-elements are identifying for a person, because attribute "ident_master" has the value "true". Person "Fischer Hans" is in both file not the same person, because the identifying element <hsnr> of adress "Aschaffenburg, Haupweg" is different.

There are two "Becker Claudia" in each file. But they are different persons, because their addresses are different.

The person "Becker Claudia" from "Augsburg, Hanfweg 8" has a different value in element <birthdate>.

Comparison-result in XML-Format or in HTML-Format

comparison result:

  • list of differences (Xml Html)
  • differences in xml-context
    • all data + differences (Xml Pdf)
    • only differences (Xml Pdf)
file: test6a.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999-10-04</birthdate>
			<list_adresse>
				<adresse>
					<residence>Elsenfeld</residence>
					<street>Nordring</street>
					<hsnr>20</hsnr>
				</adresse>
				<adresse>
					<residence>Aschaffenburg</residence>
					<street>Hauptweg</street>
					<hsnr>5</hsnr>
				</adresse>
			</list_adresse>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>2001-01-18</birthdate>
			<list_adresse>
				<adresse>
					<residence>Augsburg</residence>
					<street>Hanfweg</street>
					<hsnr>8</hsnr>
				</adresse>
			</list_adresse>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>2000-01-18</birthdate>
			<list_adresse>
				<adresse>
					<residence>Frankfurt</residence>
					<street>Gooetheplatz</street>
					<hsnr>1</hsnr>
				</adresse>
			</list_adresse>
		</person>
	</list_person>
</delivery>
file: test6b.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999-10-04</birthdate>
			<list_adresse>
				<adresse>
					<residence>Elsenfeld</residence>
					<street>Nordring</street>
					<hsnr>20</hsnr>
				</adresse>
				<adresse>
					<residence>Aschaffenburg</residence>
					<street>Hauptweg</street>
					<hsnr>44</hsnr>
				</adresse>
			</list_adresse>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>2000-01-18</birthdate>
			<list_adresse>
				<adresse>
					<residence>Augsburg</residence>
					<street>Hanfweg</street>
					<hsnr>8</hsnr>
				</adresse>
			</list_adresse>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>2000-01-18</birthdate>
			<list_adresse>
				<adresse>
					<residence>Frankfurt</residence>
					<street>Gooetheplatz</street>
					<hsnr>1</hsnr>
				</adresse>
			</list_adresse>
		</person>
	</list_person>
</delivery>