Using the XML validation tool

You can use the XML validation tool to verify transformed XML events.

The XML validation tool allows you to validate transformed XML events against the XML schema of an event source.

To validate the XML output, run the following command:

java -cp $OMNIHOME/java/jars/Transformer.jar XML_schema XML_file

  • XML_schema is the XML schema against which you are validating the XML output.
  • XML_file is the name of the XML output file whose format you are validating.