Und hier noch die xml für die verwendeten Fragen. Diese vor dem JavaSript mit z.B. PHP einfügen.:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE surveyContent SYSTEM "
https://www.soscisurvey.de/templates/doctype.survey.dtd">
<surveyContent version="2.4">
<program>sosci</program>
<version>3.2.32</version>
<timestamp>2021-06-15 16:45:06</timestamp>
<title>SVG Events</title>
<description />
<language>ger</language>
<attributes.specific program="ofb">
<attr id="language">ger</attr>
</attributes.specific>
<section>
<title>SVG Events</title>
<attributes.specific program="ofb">
<attr id="id">EV</attr>
</attributes.specific>
<question>
<description>Boxen</description>
<class>svg-checkbox</class>
<title />
<explanation />
<inputPosition>right</inputPosition>
<order>default</order>
<attributes.specific program="ofb">
<attr id="id">1</attr>
<attr id="pos">1</attr>
<attr id="scale.metrics.width">200</attr>
<attr id="scale.metrics.height">114</attr>
<attr id="scale.graphics.scale">oFb://svg-select.direction</attr>
<attr id="shading">default</attr>
</attributes.specific>
<item>
<text>erste Nadel</text>
<attributes.specific program="ofb">
<attr id="id">1</attr>
<attr id="pos">1</attr>
<attr id="svgID">path4153</attr>
</attributes.specific>
</item>
<item>
<text>zweite Nadel</text>
<attributes.specific program="ofb">
<attr id="id">2</attr>
<attr id="pos">2</attr>
<attr id="svgID">path4163</attr>
</attributes.specific>
</item>
</question>
<question>
<description>Event Time Boxes</description>
<class>internal</class>
<title />
<explanation />
<inputPosition>right</inputPosition>
<order>default</order>
<attributes.specific program="ofb">
<attr id="id">2</attr>
<attr id="pos">2</attr>
</attributes.specific>
<item>
<text>BoxA</text>
<attributes.specific program="ofb">
<attr id="id">1</attr>
<attr id="pos">1</attr>
</attributes.specific>
</item>
<item>
<text>BoxB</text>
<attributes.specific program="ofb">
<attr id="id">2</attr>
<attr id="pos">2</attr>
</attributes.specific>
</item>
</question>
<question>
<description>Letzter Log Display</description>
<class>text</class>
<title />
<explanation />
<inputPosition>right</inputPosition>
<order>default</order>
<attributes.specific program="ofb">
<attr id="id">3</attr>
<attr id="pos">3</attr>
</attributes.specific>
<item>
<text>Letzter Log:</text>
<attributes.specific program="ofb">
<attr id="id">1</attr>
<attr id="pos">1</attr>
</attributes.specific>
</item>
<item>
<text>Kommentar:</text>
<attributes.specific program="ofb">
<attr id="id">2</attr>
<attr id="pos">2</attr>
</attributes.specific>
</item>
</question>
<question>
<description>kontinuierlicher Log mit Kommentaren</description>
<class>internal</class>
<title />
<explanation />
<inputPosition>right</inputPosition>
<order>default</order>
<attributes.specific program="ofb">
<attr id="id">4</attr>
<attr id="pos">4</attr>
</attributes.specific>
<item>
<text>Event Log für alle mit Kommentar</text>
<attributes.specific program="ofb">
<attr id="id">1</attr>
<attr id="pos">1</attr>
</attributes.specific>
</item>
</question>
</section>
</surveyContent>