Validating an XML file against DTD definitions
A Document Type Definition (DTD) defines the document structure of an XML document with a list of elements and attributes. Kettle provides the DTD Validator entry job to do a validation against a DTD definition file.
For example, suppose you have an XML file with museums information, as follows:
<museums> <museum> <name>Fundacion Federico Klemm</name> <city>Buenos Aires</city> <country>Argentina</country> </museum> <museum id_museum= '2'> <name>Fundacion Proa</name> <city>Buenos Aires</city> <country>Argentina</country> </museum> <museum id_museum= '9'> <name>Museu Nacional de Belas Artes</name> <country>Brazil</country> </museum> <museum id_museum= '19'> <name>Biblioteca Luis Angel Arango</name...