Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: LSS Format

LSS Format 4 years 8 months ago #65910

Hello i'd like to find a full specification of LSS format (this is intended for development of a program that can pick up a LS survey structure and render it in a non-web interface).

Can sum1 help me?

Tyyy :).
The administrator has disabled public write access.

LSS Format 4 years 8 months ago #65949

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
There are no specifications. It's a simple XML file describing the fields and values for a survey.
This information is read when importing LSS files and storing the according values at the correct tables.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

LSS Format 4 years 8 months ago #65976

So, there's not documentation about the (xml based) format? Damn this will be preety hard for me now :(.
The administrator has disabled public write access.

LSS Format 4 years 8 months ago #66041

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
There is some (outdated) information about the DB layout available here: docs.limesurvey.org/LimeSurvey+1.8+datab...meSurvey+development

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66236

Well i checked that file and even when it shows the layout, it doesn't document it ... i have some issues i hope someone can answer me now :$.

I will put DOM Paths of the LSS format i have doubts with:

Where: questions.rows.row and subquestions.rows.row
1) what does same_default node mean?
2) what does question_order node mean?

Where: conditions.rows.row
1) i would like an explanation of the fields.
in method: list of all possible values.
in value: nothing :p.
perhaps i'm wrong with this, but as far as i know ... i see that cqid is the question under the effect of the condition, while qid es the question to pick the value and check if the condition is met. So ... what's the role of cfieldname node, and what's the role of scenario node?

Where: defaultvalues.rows.row
I woulr like to learn everything about it's fields.

Tyvm, help will be really appreciated :$.
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66238

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
I'll try to answer some of your question, not sure thought if all I write is absolutely correct:

same default: same default value for each language of the survey

question order: those order fields always take care of the order in which elements are shown at the survey or other overviews at the admin backend.

method: might be the comparison operator
value: the value?!

scenarios are used to OR several conditions for the same question

cfieldname: might be the ID of a certain element within a survey to help identifying it when using Javascript based condition evaluation.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: endlessloop

LSS Format 4 years 7 months ago #66255

method ... i know what it is but i can't guess how do they code DISTINCT and REGEX method.

value: xDDD i said "nothing" bc i mean "there's no doubt there" :p.

tyvm, you helped me a lot. perhaps, if u're not sure, someone can bring me in this forum a 2nd opinion :$, but AFAIK this seems to be ok and helpful. ty :).
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66268

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66301

if that means that the layout will improve, then (when my economical situation improves) i'll help :).
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66302

endlessloop wrote:
if that means that the layout will improve, then (when my economical situation improves) i'll help :).

(and if i end this limesurvey-related project soon, my situation will improve sooner :p)
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66307

new questions i have :$

what's the additional_languages field in surveys.rows.row?
what's the purpuse of languages.language nodes?
what's the defaultvalues.rows.row.special_type purpuse?

i will really appreciate the help, i'm stuck :$
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66371

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
endlessloop wrote:
if that means that the layout will improve, then (when my economical situation improves) i'll help :).
What layout are you referring to?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66394

(well ... that was an offtopic comment (the web layout ... sometimes makes the text controls jump to the next line, and some glitches like that ...))

I'm still performing some test-and-error efforts and solved by myself some questions but ... i still don't know the purpose of "special_type" node in defaultvalures.rows.row nodes :(. What's that node used for?
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66414

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5964
  • Thank you received: 363
  • Karma: 259
endlessloop wrote:
i still don't know the purpose of "special_type" node in defaultvalures.rows.row nodes :(. What's that node used for?
I can't tell you. Create a survey with different question types and set some default values to check for which question types this row will be filled. Also search teh source code for that string.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

LSS Format 4 years 7 months ago #66493

i would like to know what's the format of VALUE tag in conditions.

i already saw that:
* a blankspace means "no answer"
* a SGQA enclosed by @@ (e.g. @95463X1X1@) means "pick the value from that question"

i would like to know what are the remaining formats (e.g. i saw there's another format like a plus sign before an SGQA (e.g. +95463X1X1) but don't know what those formats mean).

any help with that, will be really appreciated :$.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.304 seconds