Skip to content

Commit 07940bb

Browse files
authored
Fixed template match (#233)
1 parent 67dea8c commit 07940bb

File tree

1 file changed

+1
-1
lines changed
  • src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2

1 file changed

+1
-1
lines changed

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/resource.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ extension-element-prefixes="ixsl"
430430
<!-- DEFAULT -->
431431

432432
<!-- embed file content -->
433-
<xsl:template match="*[@rdf:about][dct:format]" priority="2">
433+
<xsl:template match="*[@rdf:about][rdf:type/@rdf:resource = '&nfo;FileDataObject'][dct:format]" priority="2">
434434
<xsl:param name="id" select="generate-id()" as="xs:string?"/>
435435
<xsl:param name="class" as="xs:string?"/>
436436

0 commit comments

Comments
 (0)