HomeGuidesAPILog In

Template - XSD

One of the new features on the latest version of the SmartIQ application (8.3) is the facility to generate XML file directly from an XSD output. Previously, XML files were to be created manually. The introduction of this feature has reduced the workload for the users.



An.xsd file must exist, in order to generate the XML file.

How to create a new XML file from and .xsd

  1. In the “New SmartIQ Project” window, click on “use an existing document” under the “Template Document” section.
  1. To browse the .xsd file, select the “XML Schema (*.xsd)” from the file format first and then navigate to the .xsd file and open it.

Adding multiple files

It is possible to add multiple .xsd and word files to generate multiple XML and word outputs. There are two ways to add files.

  1. Click on Action and then add a template

2. Go to Placeholders, right click and click on Add Template.


What is noticeable on this new feature is that after adding the .xsd, the placeholders in the file can automatically be seen under the ‘’Placeholder’’ tab on the design interface. This is because it reads the .xsd file and registers the nodes that can be filled in.


How the XML looks on document generation

  1. In Project design, two questions have been added with their respective placeholders assigned.
  1. The above design produces the following output in Produce.



The user has entered ‘001’ for ‘Number of the country’ and ‘Australia’ for ‘Whats the name of the country?’. These answers have been mapped to their respective .xsd nodes.

  1. After the form has been submitted, the following XML file is generated:
<?xml version="1.0" encoding="UTF-8"?>
	 <country id="001">