Skip to content
Mamadou Sy edited this page Mar 23, 2016 · 3 revisions

<info>

Meta-information of the ADX.


<?xml version="1.0" encoding="utf-8"?>
<control xmlns="http://www.askia.com/ADCSchema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.askia.com/ADCSchema http://www.askia.com/Downloads/dev/schemas/adc2.0/Config.xsd"
         version="2.1.0"
         askiaCompat="5.4.2">

  <info>
    <name>Gender</name>
    <guid>0dba9f18-a026-421e-afa9-0ec01128a663</guid>
    <version>2</version>
    <date>2012-03-05</date>
    <description>Display a user friendly control to select the gender of the respondent</description>
    <author>Jerome Duparc, Mamadou Sy</author>
    <company>Askia SAS</company>
    <helpURL>http://dev.askia.com</helpURL>
    <site>http://www.askia.com</site>
    <constraints>
      <constraint on="questions" single="true" />
      <constraint on="controls" label="true" responseblock="true" />
      <constraint on="responses" min="2" max="2" />
    </constraints>
  </info>
</control>

<name>

User friendly name of the ADX.

<name>DefaultPage</name>
<name>SideBarPage</name>
<name>Gender</name>
<name>StatementList</name>
<name>ShoppingShelves</name>

<guid>

Global Unique IDentifier of the ADX.

This GUID should be share across version of the same ADX.
Use a GUID generator in order to prevent a duplicate GUID between two ADX.

Online GUID generaor

<guid>b5bbd863-1f6c-401d-9e8f-78c98c1ae7f2</guid>
<guid>e451f7ac-0944-4ebe-9fae-4ab569126f53</guid>
<guid>e63dd593-9d0b-468e-a6ac-a876ea2e3301</guid>

<version>

Version of the ADX.

<version>1.0.0</version>
<version>1.1.beta</version>
<version>2.0.rc2</version>

<date>

Release date of the ADX.

<date>2013-02-26</date>
<date>2012-01-04</date>

<description>

Description of the ADX.

<description>Star rating control which generate radio button list or clickable star images</description>

<company>

Name of the company who provide the ADX

<company>Askia SAS</company>

<author>

Author(s) of the ADX

<author>Jerome Duparc</author>
<author>Michael Long, Jerome Sopocko</author>

<site>

Web site URL of the author(s)/company

<site>http://www.askia.com</site>

<helpURL>

URL to the help of the ADX.

<helpURL>http://dev.aska.com/adc/star-rating-tutorial.html</helpURL>

<style>

ADC only

Deprecated
This features will be drop in the next version. Please avoid it’s usage

Indicates the default size of the ADC.
This node is present to manage the back-compatibility with the ADC 1.0 in Flash.
We recommend the usage of a style-sheet to make the size adaptive.

  • Self-close node
  • Optional
  • [0..1]
  • Parent node: <info>

Attributes

Attribute name Require Type Description
width false xsd:double Width of the control in pixel.
height false xsd:double Height of the control in pixel.
<style width="400" height="300" />

<categories>

ADC only

Deprecated
This features will be drop in the next version. Please avoid it’s usage

The system will organise the ADC using the constraints on question

List the categories of the ADX.

<categories>
  <category>Sliders</category>
  <category>Flash</category>
</categories>

<category>

ADC only

Deprecated
This features will be drop in the next version. Please avoid it’s usage

The system will organise the ADC using the constraints on question

Freeform text which indicates the category of the ADX.
This is used to sort and search an ADX in the ADXs library.

<category>Sliders</category>

<constraints>

ADC only

Constraints to indicates the allowed context of the ADC.

<constraints>
  <constraint on="questions" single="true" />
  <constraint on="responses" min="2" max="2" />
</constraints>

<constraint>

ADC only

Define the constraint on a given context such as questions, responses, controls or properties.

  • Self-close node
  • At least one require
  • [1..n]
  • Parent node: <constraints>

Attributes

Attribute name Require Type Description
on true Enumeration based on xsd:NCName
questions
Indicate a constraint to apply on questions
responses
Indicate a constraint to apply on responses
controls
Indicate a constraint to apply on controls

Using constraint on questions:

Attribute name Require Type Description
chapter false xsd:boolean Indicates if the ADC is allowed on chapter (default false).
single false xsd:boolean Indicates if the ADC is allowed on single closed questions (default false).
multiple false xsd:boolean Indicates if the ADC is allowed on multi-coded questions (default false).
numeric false xsd:boolean Indicates if the ADC is allowed on numeric questions (default false).
open false xsd:boolean Indicates if the ADC is allowed on open-ended questions (default false).
date false xsd:boolean Indicates if the ADC is allowed on date questions (default false).
requireParentLoop false xsd:boolean Indicates if the ADC require a parent loop (default false).

Using constraint on responses:

Attribute name Require Type Description
min false numberPattern Indicates the minimum of allowed responses. (default ‘*’).
max false numberPattern Indicates the maximum of allowed responses. (default ‘*’).

Using constraint on controls:

Attribute name Require Type Description
label false xsd:boolean Indicates if the ADC is allowed on label controls. (default false).
textbox false xsd:boolean Indicates if the ADC is allowed on text box controls. (default false).
listbox false xsd:boolean Indicates if the ADC is allowed on list box controls. (default false).
checkbox false xsd:boolean Indicates if the ADC is allowed on checkbox controls. (default false).
radiobutton false xsd:boolean Indicates if the ADC is allowed on radio button controls. (default false).
responseblock false xsd:boolean Indicates if the ADC is allowed on response block. (default false).
<constraints>
  <constraint on="questions" single="true" multiple="true" open="true" />
  <constraint on="responses" min="2" max="3" />
  <constraint on="controls" responseBlock="true" label="true" />
</constraints>

<< Config – Root | Config – Outputs >>