Project

General

Profile

« Previous | Next » 

Revision 48767

Updated index and lightui configuration to work with the RDF_XML_PLAIN format

View differences:

cidoc_2_row.xslt
40 40
						<img src="../resources/img/record.png" width="80" height="80" />
41 41
					</td>
42 42
					<td>
43
						<strong>Title: </strong><xsl:value-of select="//rdf:RDF/*/crm:P102_has_title/crm:E35_Title/rdfs:label" /><br/>
43
						<strong>Original identifier: </strong><i><xsl:value-of select="//dri:recordIdentifier" /></i><br/><br/>
44
						<strong>Data Source: </strong><i><xsl:value-of select="//dri:datasourcename" /></i><br/><br/>
45
						<strong>Resource types: </strong>
46
						<xsl:for-each-group select="//rdf:Description" group-by="./rdf:type/@rdf:resource">
47
							<i><xsl:value-of select="tokenize(current-grouping-key(),'/')[last()]"/></i> (<xsl:value-of select="count(current-group())"/>)<br/>
48
						</xsl:for-each-group>
44 49

  
45
						<strong>Notes: </strong><xsl:for-each select="//crm:P3_has_note"><i><xsl:value-of select="." /></i></xsl:for-each><br/>
46
						<strong>Author: </strong><xsl:value-of select="//*[local-name()='creator']" /><br/>
50
						<!--<xsl:for-each select="//rdf:Description/rdf:type"><i><xsl:value-of select="tokenize(@rdf:resource,'/')[last()]" /></i><br/></xsl:for-each><br/>-->
51

  
52
						<!--<xsl:value-of select="//rdf:RDF/*/crm:P102_has_title/crm:E35_Title/rdfs:label" /><br/>-->
53

  
54
						<strong>Notes: </strong><xsl:for-each select="//crm:P3_has_note"><i><xsl:value-of select="." /></i><br/></xsl:for-each><br/>
47 55
						<br />
48 56
						<button class="btn btn-primary btn-sm" ng-click="getDocument('objidentifier', '{$id}')">show record</button>
49 57
					</td>

Also available in: Unified diff