Please help us help you and fill where relevant: Your LimeSurvey version:
LimeSurvey Community Edition
Version 6.15.4+250710 Own server or LimeSurvey hosting: own server Survey theme/template:
==================Hello everyone,I'm working on a research project using LimeSurvey Community Edition and I need to extract the full structure of my survey, including:
Question type and ID
Text and subtext (help)
Answer options for single/multiple choice questions
Likert subquestion labels and scale values (for arrays)
I’m parsing the .lss export with a Python script. It works well in most cases, but I’m struggling to retrieve the Likert scale labels properly.The problem:In the XML .lss, I do see answer options in <answer_l10ns> with aid values, but there is no clear link between the Likert scale values and the question qid.Examples:<answer_l10ns> <aid>1017</aid> <answer><![CDATA[Tous les jours !]]></answer> <language><![CDATA[fr]]></language></answer_l10ns>I find the scale labels, but I can’t reliably determine which question they belong to. The mapping between qid, aid, and scale_id seems missing or incomplete.What I’ve tried:
Using answers, answer_l10ns, and subquestions sections
Mapping (qid, scale_id) to a list of aid
Cross-referencing with subquestions to reconstruct Likert tables
Combining this with .txt export — not always helpful
Still, for many "array" questions (e.g., multiple rows/columns Likert), the labels of the Likert scale ("Never", "Sometimes", "Always"...) are not reliably mapped in the export.My goal:I want to automatically generate a file compatible with the Phonic.ai format, with columns like: