Document format type XSD (for XML generation)

Applies to Infiniti v8.3 or later

 

One of the new features on the latest version of the Infiniti 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.

Note: An xsd must exist, in order to generate the xml file.

How to create a new xml file from and xsd:

1. In the “New Infiniti Project” window, click on “use an existing document” under the “Template Document” section.



2. 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


 

Or,
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.



Example: How the xml looks on document generation: 

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

Note: 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.

3. After the form has been submitted, the following xml file is generated:

 

Related Articles

 

 

Keywords

 

new project xsd xml schema format generation answer file answerfile