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 museum's 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> <city>Bogota</city> ...

Get Pentaho Data Integration Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.