Validate your Transaction Message

Bing provides the Transaction XSD and Rate_Types.XSD that you use to validate your transaction message before sending it to Bing. This saves time and round trips by catching document syntax errors. You should always validate your transaction messages before sending them to Bing.

The following example shows using xmllint to validate the message contained in SampleTransaction.xml.

xmllint.exe --schema transaction.xsd SampleTransaction.xml