|
22 | 22 | <xsl:when test="@tag='648'"> |
23 | 23 | <xsl:value-of select="$recordid"/>#Temporal<xsl:value-of select="@tag"/>-<xsl:value-of select="position()"/> |
24 | 24 | </xsl:when> |
| 25 | + <xsl:when test="@tag='651'"> |
| 26 | + <xsl:value-of select="$recordid"/>#Place<xsl:value-of select="@tag"/>-<xsl:value-of select="position()"/> |
| 27 | + </xsl:when> |
25 | 28 | <xsl:when test="@tag='655'"> |
26 | 29 | <xsl:value-of select="$recordid"/>#GenreForm<xsl:value-of select="@tag"/>-<xsl:value-of select="position()"/> |
27 | 30 | </xsl:when> |
|
291 | 294 | </xsl:template> |
292 | 295 |
|
293 | 296 | <xsl:template match="marc:datafield[@tag='656']" mode="work"> |
| 297 | + <xsl:param name="recordid"/> |
294 | 298 | <xsl:param name="serialization" select="'rdfxml'"/> |
| 299 | + <xsl:variable name="vDefaultUri"> |
| 300 | + <xsl:value-of select="$recordid"/>#Topic<xsl:value-of select="@tag"/>-<xsl:value-of select="position()"/> |
| 301 | + </xsl:variable> |
295 | 302 | <xsl:apply-templates select="." mode="work656"> |
296 | 303 | <xsl:with-param name="serialization" select="$serialization"/> |
| 304 | + <xsl:with-param name="pDefaultUri" select="$vDefaultUri"/> |
297 | 305 | </xsl:apply-templates> |
298 | 306 | </xsl:template> |
299 | 307 |
|
300 | 308 | <xsl:template match="marc:datafield" mode="work656"> |
301 | 309 | <xsl:param name="serialization" select="'rdfxml'"/> |
| 310 | + <xsl:param name="pDefaultUri"/> |
302 | 311 | <xsl:variable name="vTag"> |
303 | 312 | <xsl:choose> |
304 | 313 | <xsl:when test="@tag='880'"><xsl:value-of select="substring(marc:subfield[@code='6'],1,3)"/></xsl:when> |
|
317 | 326 | </xsl:call-template> |
318 | 327 | </xsl:variable> |
319 | 328 | <xsl:variable name="vTopicUri"> |
320 | | - <xsl:apply-templates mode="generateUri" select="."/> |
| 329 | + <xsl:apply-templates mode="generateUri" select="."> |
| 330 | + <xsl:with-param name="pDefaultUri" select="$pDefaultUri"/> |
| 331 | + </xsl:apply-templates> |
321 | 332 | </xsl:variable> |
322 | 333 | <xsl:choose> |
323 | 334 | <xsl:when test="$serialization='rdfxml'"> |
|
369 | 380 | </xsl:template> |
370 | 381 |
|
371 | 382 | <xsl:template match="marc:datafield[@tag='662']" mode="work"> |
| 383 | + <xsl:param name="recordid"/> |
372 | 384 | <xsl:param name="serialization" select="'rdfxml'"/> |
| 385 | + <xsl:variable name="vDefaultUri"> |
| 386 | + <xsl:value-of select="$recordid"/>#Place<xsl:value-of select="@tag"/>-<xsl:value-of select="position()"/> |
| 387 | + </xsl:variable> |
373 | 388 | <xsl:apply-templates select="." mode="work662"> |
374 | 389 | <xsl:with-param name="serialization" select="$serialization"/> |
| 390 | + <xsl:with-param name="pDefaultUri" select="$vDefaultUri"/> |
375 | 391 | </xsl:apply-templates> |
376 | 392 | </xsl:template> |
377 | 393 |
|
378 | 394 | <xsl:template match="marc:datafield" mode="work662"> |
379 | 395 | <xsl:param name="serialization" select="'rdfxml'"/> |
| 396 | + <xsl:param name="pDefaultUri"/> |
380 | 397 | <xsl:variable name="vXmlLang"><xsl:apply-templates select="." mode="xmllang"/></xsl:variable> |
381 | 398 | <xsl:variable name="vLabel"> |
382 | 399 | <xsl:call-template name="chopPunctuation"> |
|
389 | 406 | </xsl:call-template> |
390 | 407 | </xsl:variable> |
391 | 408 | <xsl:variable name="vPlaceUri"> |
392 | | - <xsl:apply-templates mode="generateUri" select="."/> |
| 409 | + <xsl:apply-templates mode="generateUri" select="."> |
| 410 | + <xsl:with-param name="pDefaultUri" select="$pDefaultUri"/> |
| 411 | + </xsl:apply-templates> |
393 | 412 | </xsl:variable> |
394 | 413 | <xsl:choose> |
395 | 414 | <xsl:when test="$serialization='rdfxml'"> |
|
0 commit comments