Revision 10383
Added by Bryce Mecum about 7 years ago
lib/style/skins/metacatui/iso19115/isoroot.xsl | ||
---|---|---|
67 | 67 |
</div> |
68 | 68 |
</xsl:for-each> |
69 | 69 |
|
70 |
<!-- Abstract 1:inf--> |
|
71 |
<xsl:for-each select=".//gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract"> |
|
72 |
<div class="control-group"> |
|
73 |
<label class="control-label">Abstract</label> |
|
74 |
<div class="controls"> |
|
75 |
<div class="controls-well"> |
|
76 |
<xsl:apply-templates /> |
|
70 |
<!-- Abstract 1:inf |
|
71 |
Can be missing |
|
72 |
--> |
|
73 |
<xsl:if test="normalize-space(.//gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract/text()) != ''"> |
|
74 |
<xsl:for-each select=".//gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract"> |
|
75 |
<div class="control-group"> |
|
76 |
<label class="control-label">Abstract</label> |
|
77 |
<div class="controls"> |
|
78 |
<div class="controls-well"> |
|
79 |
<xsl:apply-templates /> |
|
80 |
</div> |
|
77 | 81 |
</div> |
78 | 82 |
</div> |
79 |
</div>
|
|
80 |
</xsl:for-each>
|
|
83 |
</xsl:for-each>
|
|
84 |
</xsl:if>
|
|
81 | 85 |
|
82 | 86 |
<!-- Publication 1:1 --> |
83 | 87 |
<!-- TODO: Find out where this is in the metadata. --> |
Also available in: Unified diff
Fix bug in abstract handling in ISO XSLT
Before this change, a missing abstract would still show up but just as
an empty box with on content. This should be fixed now.