# HG changeset patch # User Ruslan Ermilov # Date 1345024229 0 # Node ID 9ff0bc734b77506c4410c09c0eea8bc54d9db86b # Parent 9015b4a0df4402a7036051edbb2e14387e2b9ff4 In alphabetical index of directives, if there are several directives with the same name, output the module names in parentheses. diff --git a/xsls/link.xsls b/xsls/link.xsls --- a/xsls/link.xsls +++ b/xsls/link.xsls @@ -48,6 +48,11 @@ X:template = "link[@id and @doc]" { X:template = "links" { X:for-each "link", X:sort "@id" { !{@id} + X:if "count(../link[@id = current()/@id]) > 1" { + X:text{ (} + !{substring-before(substring-after(@doc, '/'), '.xml')} + X:text{)} + }
} }