Skip to content
Snippets Groups Projects
Verified Commit 99a05efa authored by Timm Fitschen's avatar Timm Fitschen
Browse files

update query.xsl

parent 48fd1d64
Branches
Tags
2 merge requests!36merge f-boot-tour to dev,!31remove xs
......@@ -248,15 +248,17 @@
<xsl:with-param name="value">
<xsl:value-of select="@*[translate(name(), $uppercase, $lowercase)=$first-segment]"/>
</xsl:with-param>
<xsl:with-param name="reference" select="'false'"/>
<xsl:with-param name="boolean" select="'false'"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="translate($first-segment, $uppercase, $lowercase)='version'">
<!--handle version-->
<xsl:call-template name="single-value">
<xsl:with-param name="value">
<xsl:value-of select="Version/@id"/>
</xsl:with-param>
<xsl:with-param name="value" select="Version/@id"/>
<xsl:with-param name="reference" select="'false'"/>
<xsl:with-param name="boolean" select="'false'"/>
</xsl:call-template>
</xsl:when>
......@@ -268,9 +270,9 @@
<xsl:when test="translate($next-segments, $uppercase, $lowercase)='unit'">
<!--handle unit-->
<xsl:call-template name="single-value">
<xsl:with-param name="value">
<xsl:value-of select="@unit"/>
</xsl:with-param>
<xsl:with-param name="value" select="@unit"/>
<xsl:with-param name="reference" select="'false'"/>
<xsl:with-param name="boolean" select="'false'"/>
</xsl:call-template>
</xsl:when>
......@@ -305,24 +307,24 @@
<xsl:with-param name="value">
<xsl:value-of select="@*[translate(name(), $uppercase, $lowercase)=$first-segment]"/>
</xsl:with-param>
<xsl:with-param name="reference" select="'false'"/>
<xsl:with-param name="boolean" select="'false'"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="translate($first-segment, $uppercase, $lowercase)='version'">
<!--handle version-->
<xsl:call-template name="single-value">
<xsl:with-param name="value">
<xsl:value-of select="Version/@id"/>
</xsl:with-param>
<xsl:with-param name="value" select="Version/@id"/>
<xsl:with-param name="reference" select="'false'"/>
<xsl:with-param name="boolean" select="'false'"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="$next-segments">
<!-- when there is a next-segmenst -->
<xsl:apply-templates select="Property[translate(@name, $uppercase, $lowercase)=$first-segment]" mode="walk-select-segments">
<xsl:with-param name="next-segments">
<xsl:value-of select="$next-segments"/>
</xsl:with-param>
<xsl:with-param name="next-segments" select="$next-segments"/>
</xsl:apply-templates>
</xsl:when>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment