example comparing: test19 missing attribute

basic-control-file: cmp19.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 <name> and <firstname>. The attribute "id" should be compared. Person "Fischer Hans" has in file "test19a.xml" an attribute "id" and in file "test19b.xml" not.

comparison result:

  • list of differences (Xml Html)
  • differences in xml-context
    • all data + differences (Xml Pdf)
    • only differences (Xml Pdf)
file: test19a.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: test19b.xml
<?xml version='1.0' encoding='ISO-8859-2'?>
<delivery>
	<list_person>
		<person >
			<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>