O'Reilly logo

Pentaho Data Integration 4 Cookbook by María Carina Roldán, Adrián Sergio Pulvirenti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required