Mercurial > repos > ecology > data_paper_from_eml
comparison emldown_templates/method.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="method" match="/"> | |
| 6 <h3>Method</h3> | |
| 7 | |
| 8 <div class="container"> | |
| 9 <xsl:for-each select="//dataset/methods"> | |
| 10 <xsl:choose> | |
| 11 <xsl:when test=".//methodStep"> | |
| 12 <h4>Method step</h4> | |
| 13 <p class="editor"><xsl:value-of select="methodStep" /></p> | |
| 14 </xsl:when> | |
| 15 </xsl:choose> | |
| 16 | |
| 17 <xsl:choose> | |
| 18 <xsl:when test=".//sampling"> | |
| 19 <h4>Sampling</h4> | |
| 20 <p class="editor"><xsl:value-of select="sampling" /></p> | |
| 21 </xsl:when> | |
| 22 </xsl:choose> | |
| 23 | |
| 24 <xsl:choose> | |
| 25 <xsl:when test=".//qualityControl"> | |
| 26 <h4>Quality control</h4> | |
| 27 <p class="editor"><xsl:value-of select="qualityControl" /></p> | |
| 28 </xsl:when> | |
| 29 </xsl:choose> | |
| 30 | |
| 31 </xsl:for-each> | |
| 32 </div> | |
| 33 </xsl:template> | |
| 34 </xsl:stylesheet> |
