Skip to content
Snippets Groups Projects
Commit 1348786d authored by Jens Kupferschmidt's avatar Jens Kupferschmidt
Browse files

fix bug

parent ada89c04
Branches
No related merge requests found
...@@ -20,11 +20,15 @@ ...@@ -20,11 +20,15 @@
<xsl:when test="name() = 'def.biocol02'"> <xsl:when test="name() = 'def.biocol02'">
<xsl:apply-templates select="." mode="classification-native" /> <xsl:apply-templates select="." mode="classification-native" />
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol04'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol05'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol07'"> <xsl:when test="name() = 'def.biocol07'">
<xsl:apply-templates select="." mode="classification-native" /> <xsl:apply-templates select="." mode="classification-native" />
...@@ -35,20 +39,30 @@ ...@@ -35,20 +39,30 @@
<xsl:when test="name() = 'def.biocol16'"> <xsl:when test="name() = 'def.biocol16'">
<xsl:apply-templates select="." mode="classification-native" /> <xsl:apply-templates select="." mode="classification-native" />
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol80'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol81'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol82'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol83'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol84'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol97'"> <xsl:when test="name() = 'def.biocol97'">
<xsl:apply-templates select="." mode="classification-native" /> <xsl:apply-templates select="." mode="classification-native" />
......
...@@ -17,26 +17,40 @@ ...@@ -17,26 +17,40 @@
<xsl:choose> <xsl:choose>
<xsl:when test="$access = 'true'"> <xsl:when test="$access = 'true'">
<xsl:choose> <xsl:choose>
<xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol04'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol05'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol80'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol81'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol82'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol83'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> <xsl:when test="name() = 'def.biocol84'">
<xsl:copy-of select="." /> <xsl:if test="$accessintern = 'true'">
<xsl:copy-of select="." />
</xsl:if>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:copy-of select="." /> <xsl:copy-of select="." />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment