Skip to content

Knowledge Base

White Paper Libary

Defining an XML Schema from data


NOTE: This article has been updated and moved to the Codeless Platforms Documentation Portal.

If you are seeing this message and have not been redirected, click: How to Add an Import XML Document Task Step.




Sometimes example XML files are available but no schema files (XSD) are available. Some TaskCentre tools require a schema in order to define there input.


  1. Add an Import XML Document step to a dummy task.
  2. Go to the Main tab and use the browse button to find the input XML file. It is important that the file is a ‘full’ file with multiple examples of all of the data present in the runtime files.
  3. Use the “Infer schema…” button and then the Validate Schema button. (It may be advisable to alter the file type definition at the top from utf-16 to utf-8.)
  4. Select the whole of the schema and copy this to a notepad file.
  5. Save the file with xsd extension.