Project

General

Profile

« Previous | Next » 

Revision 3918

adjust xpaths to match changes to edml/qti output by FirstMorpho

View differences:

lib/style/skins/first/first-item-resultset.xsl
111 111
							
112 112
							<ul>
113 113
							<xsl:for-each
114
								select="./param[@name='response_label/flow_mat/material/mattext']">
114
								select="./param[@name='response_label/material/mattext']">
115 115
								<li>
116 116
									<xsl:value-of select="." />
117 117
								</li>	
lib/style/skins/first/first-resultset.xsl
173 173
							<a>
174 174
								<xsl:attribute name="href">javascript:submitform('read',document.<xsl:value-of	select="translate(./docid, '()-.', '____')" />)</xsl:attribute>
175 175
								<xsl:text>&#187;&#160;</xsl:text>
176
								<xsl:value-of select="./param[@name='assessment/@assessmentTitle']"/>
176
								<xsl:value-of select="./param[@name='assessment/@title']"/>
177 177
							</a>
178 178
							<br />
179 179
							<br />
......
303 303
						
304 304
						<ul>
305 305
						<xsl:for-each
306
							select="./param[@name='response_label/flow_mat/material/mattext']">
306
							select="./param[@name='response_label/material/mattext']">
307 307
							<li>
308 308
								<xsl:value-of select="." />
309 309
							</li>	
lib/style/skins/first/first-assessment-resultset.xsl
231 231
				</tr>
232 232

  
233 233
				<xsl:for-each select="resultset/document">
234
					<xsl:sort select="./param[@name='assessment/@assessmentId']" />
234
					<xsl:sort select="./param[@name='assessment/@id']" />
235 235
					<xsl:variable name="divId">
236 236
						<xsl:text>ajaxDiv</xsl:text><xsl:value-of select="./docid" />
237 237
					</xsl:variable>
......
247 247
							<a>
248 248
								<xsl:attribute name="href">javascript:submitform('read','<xsl:value-of select="./docid" />',document.assessmentForm)</xsl:attribute>
249 249
								<xsl:text>&#187;&#160;</xsl:text>
250
								<xsl:value-of select="./param[@name='assessment/@assessmentTitle']" />
251
								<!-- <xsl:value-of select="./param[@name='assessment/@assessmentId']" />) -->
250
								<xsl:value-of select="./param[@name='assessment/@title']" />
251
								<!-- <xsl:value-of select="./param[@name='assessment/@id']" />) -->
252 252
							</a>
253 253
							(<xsl:value-of select="./docid" />)
254 254
							<br />
lib/style/skins/first/index.html
72 72
							
73 73
							//assessment fields
74 74
			                +"<returnfield>assessment/duration</returnfield>"
75
			                +"<returnfield>assessment/@assessmentTitle</returnfield>"
76
			                +"<returnfield>assessment/@assessmentId</returnfield>"
75
			                +"<returnfield>assessment/@title</returnfield>"
76
			                +"<returnfield>assessment/@id</returnfield>"
77 77
			                +"<returnfield>lom/general/title/string</returnfield>"
78 78
			                +"<returnfield>lom/general/keyword/string</returnfield>"
79 79
			                +"<returnfield>individualName/surName</returnfield>"
......
97 97
							//question content
98 98
							+"<returnfield>presentation/flow/material/mattext</returnfield>"
99 99
							+"<returnfield>response_label/@ident</returnfield>"
100
							+"<returnfield>response_label/flow_mat/material/mattext</returnfield>";
100
							+"<returnfield>response_label/material/mattext</returnfield>";
101 101
					}		
102 102
                                                      
103 103
			queryString +=

Also available in: Unified diff