diff options
Diffstat (limited to 'xslt/mallard/common/mal-link.xsl')
-rw-r--r-- | xslt/mallard/common/mal-link.xsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xslt/mallard/common/mal-link.xsl b/xslt/mallard/common/mal-link.xsl index 128e248f..48d60b28 100644 --- a/xslt/mallard/common/mal-link.xsl +++ b/xslt/mallard/common/mal-link.xsl @@ -961,12 +961,13 @@ The output is a result tree fragment. To use these results, call <xsl:for-each select="$groupslist"> <xsl:if test="string(.) = $link/@group"> <xsl:value-of select="position()"/> + <xsl:text> </xsl:text> </xsl:if> </xsl:for-each> </xsl:if> </xsl:variable> <xsl:variable name="groupsort"> - <xsl:value-of select="$grouppos"/> + <xsl:value-of select="substring-before($grouppos, ' ')"/> <xsl:if test="string($grouppos) = ''"> <xsl:value-of select="$defaultpos"/> </xsl:if> @@ -1049,12 +1050,13 @@ The output is a result tree fragment. To use these results, call <xsl:for-each select="$groupslist"> <xsl:if test="string(.) = $link/@group"> <xsl:value-of select="position()"/> + <xsl:text> </xsl:text> </xsl:if> </xsl:for-each> </xsl:if> </xsl:variable> <xsl:variable name="groupsort"> - <xsl:value-of select="$grouppos"/> + <xsl:value-of select="substring-before($grouppos, ' ')"/> <xsl:if test="string($grouppos) = ''"> <xsl:value-of select="$defaultpos"/> </xsl:if> |