Project

General

Profile

« Previous | Next » 

Revision 48326

Fixed title xpath

View differences:

cidoc_2_row.xslt
13 13
	<xsl:template match="/">
14 14
		<xsl:variable name="id"   select="//*[local-name() = 'objIdentifier']" />
15 15

  
16

  
17

  
18 16
		<div class="well">
19 17
			<xsl:if test="//dri:invalid">
20 18
				<div class="well"><strong>The record contains the following uncleaned fields</strong>
......
42 40
						<img src="../resources/img/record.png" width="80" height="80" />
43 41
					</td>
44 42
					<td>
45
						<strong>Title: </strong><xsl:value-of select="//crm:P102_has_title" /><br/>
43
						<strong>Title: </strong><xsl:value-of select="//rdf:RDF/*/crm:P102_has_title/crm:E35_Title/rdfs:label" /><br/>
46 44

  
47 45
						<strong>Notes: </strong><xsl:for-each select="//crm:P3_has_note"><i><xsl:value-of select="." /></i></xsl:for-each><br/>
48 46
						<strong>Author: </strong><xsl:value-of select="//*[local-name()='creator']" /><br/>

Also available in: Unified diff