Revision 4998
Added by ben leinfelder over 15 years ago
lib/style/skins/first/search.js | ||
---|---|---|
324 | 324 |
+ "<pathexpr label=\"qLabel\">//assessment/section/item/presentation/@label</pathexpr>" |
325 | 325 |
+ "</attribute>" |
326 | 326 |
+ "<attribute name=\"qPrompt\">" |
327 |
+ "<pathexpr label=\"qPrompt\">(//assessment/section/item/presentation/flow/response_lid/render_choice/material/mattext)|(//assessment/section/item/presentation/flow/response_str/material/mattext)</pathexpr>" |
|
327 |
+ "<pathexpr label=\"qPrompt\">(//assessment/section/item/presentation/flow/response_lid/render_choice/material/mattext)|(//assessment/section/item/presentation/flow/response_str/material/mattext)|(//assessment/section/item/presentation/flow/material/mattext)</pathexpr>"
|
|
328 | 328 |
+ "</attribute>"; |
329 | 329 |
//control multiple choices |
330 | 330 |
for (var p = 1; p <= questionChoiceCount; p++) { |
lib/style/skins/first/first-item-resultset.xsl | ||
---|---|---|
117 | 117 |
<xsl:value-of select="." disable-output-escaping="yes"/> |
118 | 118 |
<br/> |
119 | 119 |
</xsl:for-each> |
120 |
<xsl:for-each select="./param[@name='presentation/flow/material/mattext']"> |
|
121 |
<xsl:value-of select="." disable-output-escaping="yes"/> |
|
122 |
<br/> |
|
123 |
</xsl:for-each> |
|
120 | 124 |
<ul> |
121 | 125 |
<xsl:for-each |
122 | 126 |
select="./param[@name='response_label/material/mattext']"> |
127 |
<xsl:sort select="."/> |
|
123 | 128 |
<li> |
124 | 129 |
<xsl:value-of select="." disable-output-escaping="yes"/> |
125 | 130 |
</li> |
Also available in: Unified diff
-handle new(?) XPath for the question prompt and include in the CSV download
-sort the multiple choice options