view emldown_templates/otherentity.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
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template name="otherentity" match="/">
    <xsl:choose>
        <xsl:when test=".//otherEntity">
            <h3>Other entities</h3>
            <xsl:for-each select=".//otherEntity">
             <br/>
            <xsl:value-of select="entityName"/>
             <br/>
            </xsl:for-each>  
        </xsl:when>
    </xsl:choose>
</xsl:template>
</xsl:stylesheet>