[DDI-SRG] [Fwd: DDI3 Instumentation question]
Wendy Thomas
wlt at pop.umn.edu
Tue Sep 11 09:22:11 EDT 2007
Pascal,
I believe this is a misuse of the available elements. IfThenElse contains
the following:
Code (xs:string)
SourceQuestion
Description (structured string)
The content noted below should have been in the description and/or listed
as a routing instruction if display is required. The Code element should
hold "The processible code of the expression".
The example sited was from the workbook provided at the IASSIST workshop
by Mary and Sanda. It is not an official document of the DDI 3.0
specification.
Wendy
On Tue, 11 Sep 2007, Pascal Heus wrote:
> Tom:
> I have received the query below from a tool developer at the Dansk Data
> Archive. Could you circulate this on the Instrument Documentation group and
> let us know if we have any answer.
> many thanks
> Pascal
>
> -------- Original Message --------
> Subject: DDI3 Instumentation question
> Date: Tue, 11 Sep 2007 11:52:32 +0200
> From: Jannik Vestergaard Jensen <jvj at dda.dk>
> To: Pascal Heus <pascal.heus at gmail.com>, J Gager <j.b.gager at gmail.com>
>
>
>
> Hi
>
> I have a question regarding DDI3 markup. Is there a convention reagrding the
> condition code tag in: if, ifthen ... etc in the instumentation of the
> datacollection.
>
> Eg.:
> Taken from, live url:
> _http://www.ddialliance.org/DDI/ddi3/questionExample.xml_
> <dc:IfThenElse>
> <r:Identification><r:ID>IFTE_1</r:ID></r:Identification>
> <dc:IfCondition>
> <r:Code>*If yes [response = 1]*</r:Code>
> <r:SourceQuestion><r:ID>IQ_2</r:ID></r:SourceQuestion>
> </dc:IfCondition>
> ...
>
> Taken from: DDI3.0 Handbook, A crystal clear introduction to DDI3.0, IASSIST
> Conference 2007
> Markup Example: American National Election Study, 2004
> <dc:IfThenElse>
> <r:Identification><r:ID>IfThenElse_1</r:ID></r:Identification>
> <dc:IfCondition>
> <r:Code>*If 1 thru 7*</r:Code>
> <r:SourceQuestion><r:ID>QC_A7</r:ID></r:SourceQuestion>
> </dc:IfCondition>
> ...
>
> There does not seen to be a standard/ convention to bescribe the exact
> condition, is this so or am I missing something?
>
> Med venlig hilsen/ best regards
> Jannik V. Jensen
>
> Dansk Data Arkiv
> Islandsgade 10 - DK 5000 Odense C
> Tlf: +45 6548 0342 - fax: +45 6611 3060
> Email: _jvj at dda.dk_ <mailto:jvj at dda.dk> - web: _www.dda.dk_
> <file://www.dda.dk>
>
>
Wendy L. Thomas Phone: +1 612.624.4389
Data Access Core Director Fax: +1 612.626.8375
Minnesota Population Center Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455
More information about the DDI-SRG
mailing list