Mercurial > repos > ecology > data_paper_from_eml
comparison emldown_templates/geographic_coverage.xsl @ 0:cfe884e53600 draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/main/tools-ecology/tools/make_data_paper_sketches commit 34f4e0604adc2a2ba4902ce6b8e6df2460eda292
author | ecology |
---|---|
date | Tue, 15 Oct 2024 20:33:48 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cfe884e53600 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <xsl:stylesheet version="1.0" | |
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
4 | |
5 <xsl:template name="geographic_coverage" match="/"> | |
6 <xsl:choose> | |
7 <xsl:when test=".//geographicCoverage"> | |
8 <h3>Geographic coverage</h3> | |
9 <div class="row"> | |
10 <xsl:for-each select="//dataset/coverage/geographicCoverage"> | |
11 <div class="col-sm-3"> | |
12 | |
13 <p><b><xsl:value-of select="geographicDescription"/></b></p> | |
14 | |
15 <p> | |
16 West: <xsl:value-of select="boundingCoordinates/westBoundingCoordinate"/><br/> | |
17 East: <xsl:value-of select="boundingCoordinates/eastBoundingCoordinate"/><br/> | |
18 North: <xsl:value-of select="boundingCoordinates/northBoundingCoordinate"/><br/> | |
19 South: <xsl:value-of select="boundingCoordinates/southBoundingCoordinate"/> | |
20 </p> | |
21 | |
22 </div> | |
23 | |
24 </xsl:for-each> | |
25 | |
26 </div> | |
27 </xsl:when> | |
28 </xsl:choose> | |
29 </xsl:template> | |
30 </xsl:stylesheet> | |
31 | |
32 | |
33 |