# Okapi Framework - Steps ## XML Validation Step
- Overview - Parameters |
Steps | Developer's Guide | Okapi Framework

If you are using an Okapi Tool after the M9 release, you should be using the wiki online help:
http://www.opentag.com/okapi/wiki/index.php?title=XML_Validation_Step

## Overview

This step checks xml well-formedness and validation using DTD or XML Schema.

Takes: Raw document
Sends: Raw document

Well-formedness checked is performed even if validation is not selected. Consequently any other format than xml will most likely not pass well-formedness.

## Parameters

Validate the files -- Check this button to perform validation against either DTD or XML Schema.

Type of validation -- Select either DTD or XML Schema. If using XML Schema you have the option of specifying a schema in the next option.

Path to XML Schema -- This is used if XML Schema was selected as type of validation. Select an XML Schema to use for validation. If one is not selected the step will locate a XML Schema inside the file. If one cannot be found validation will fail.