Skip to content

Commit

Permalink
xslt:objekttyp: play out aat label de and en
Browse files Browse the repository at this point in the history
  • Loading branch information
mokko committed Jul 27, 2024
1 parent 1d4af0c commit 528b362
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions zml2lido/data/xsl/zml2lido/classificationWrap.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
<xsl:if test="$objekttyp ne ''">
<xsl:variable name="objekttypControl" select="func:vocmap-control('Objekttyp',$objekttyp)"/>
<xsl:variable name="aaturi" select="func:vocmap-replace-laxer('Objekttyp',$objekttyp, 'aaturi')"/>
<xsl:variable name="aatlabel" select="func:vocmap-replace-lax-lang('Objekttyp',$objekttyp, 'aatlabel', 'en')"/>
<xsl:variable name="aatlabelen" select="func:vocmap-replace-lax-lang('Objekttyp',$objekttyp, 'aatlabel', 'en')"/>
<xsl:variable name="aatlabelde" select="func:vocmap-replace-lax-lang('Objekttyp',$objekttyp, 'aatlabel', 'de')"/>

<xsl:if test="$objekttypControl ne ''">
<!--xsl:message>
Expand Down Expand Up @@ -162,9 +163,14 @@
lido:type="uri">
<xsl:value-of select="$aaturi"/>
</lido:conceptID>
<xsl:if test="$aatlabel ne ''">
<xsl:if test="$aatlabelen ne ''">
<lido:term lido:addedSearchTerm="yes" xml:lang="en">
<xsl:value-of select="$aatlabel"/>
<xsl:value-of select="$aatlabelen"/>
</lido:term>
</xsl:if>
<xsl:if test="$aatlabelde ne ''">
<lido:term lido:addedSearchTerm="yes" xml:lang="de">
<xsl:value-of select="$aatlabelde"/>
</lido:term>
</xsl:if>
</lido:classification>
Expand Down

0 comments on commit 528b362

Please sign in to comment.