Using XML Schemas

This page gives instructions on how to configure various editing programs for writing XML with schema validation. This helps by finding errors in XML structure, and displaying the list of elements and attributes allowed at any point in the XML file. This will be useful for anyone creating an Instrument Definition file (IDF) or Parameters file, or editing the Facilities file

XML Editors with Schema Validation tools

Examples of editors that include schema validation tools:

Where an XML includes a link to an XML schema then simply open the XML file in say Visual Studio and the editor will give you feedback if you for example are missing attributes of an XML element that the Schema thinks should be there.

For example all IDFs shipped with Mantid contain a link to the IDF Schema.

Category: Concepts