-
Notifications
You must be signed in to change notification settings - Fork 3
Config Info
Meta-information of the ADX.
- Require
- [1 ]
- Parent node: <page>, <control>
- Child nodes: <name>, <guid>, <version>,
<date>, <description>, <company>, <author>,
<site>, <helpURL>, <style>, <categories>, <constraints>
<?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>
User friendly name of the ADX.
- xsd:normalizedString
- Require
- [1 ]
- Parent node: <info>
<name>DefaultPage</name>
<name>SideBarPage</name>
<name>Gender</name>
<name>StatementList</name>
<name>ShoppingShelves</name>
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.
<guid>b5bbd863-1f6c-401d-9e8f-78c98c1ae7f2</guid>
<guid>e451f7ac-0944-4ebe-9fae-4ab569126f53</guid>
<guid>e63dd593-9d0b-468e-a6ac-a876ea2e3301</guid>
Version of the ADX.
- Legal version number
- Require
- [1 ]
- Parent node: <info>
<version>1.0.0</version>
<version>1.1.beta</version>
<version>2.0.rc2</version>
Release date of the ADX.
<date>2013-02-26</date>
<date>2012-01-04</date>
Description of the ADX.
- xsd:string
- Optional
- [0..1]
- Parent node: <info>
<description>Star rating control which generate radio button list or clickable star images</description>
Name of the company who provide the ADX
- xsd:normalizedString
- Optional
- [0..1]
- Parent node: <info>
<company>Askia SAS</company>
Author(s) of the ADX
- xsd:normalizedString
- Optional
- [0..1]
- Parent node: <info>
<author>Jerome Duparc</author>
<author>Michael Long, Jerome Sopocko</author>
Web site URL of the author(s)/company
- xsd:anyURI
- Optional
- [0..1]
- Parent node: <info>
<site>http://www.askia.com</site>
URL to the help of the ADX.
- xsd:anyURI
- Optional
- [0..1]
- Parent node: <info>
<helpURL>http://dev.aska.com/adc/star-rating-tutorial.html</helpURL>
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>
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" />
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.
- Collection of <category>
- Require
- [1 ]
- Parent node: <info>
- Child nodes: <category>
<categories>
<category>Sliders</category>
<category>Flash</category>
</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
Freeform text which indicates the category of the ADX.
This is used to sort and search an ADX in the ADXs library.
- xsd:token
- At least one require
- [1..n]
- Parent node: <categories>
<category>Sliders</category>
ADC only
Constraints to indicates the allowed context of the ADC.
- Collection of <constraint>
- Require
- [1 ]
- Parent node: <info>
- Child nodes: <constraint>
<constraints>
<constraint on="questions" single="true" />
<constraint on="responses" min="2" max="2" />
</constraints>
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>
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>