Commit 88637d4 1 parent 6cdaa19 commit 88637d4 Copy full SHA for 88637d4
File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 14
14
<xsl : when test =" $ref" >
15
15
<a href =" libxml2-{$ref/@file}.html#{$ref/@name}" ><xsl : value-of select =" $token" /></a >
16
16
</xsl : when >
17
+ <!-- TODO: This hack only works for tokens followed by a period. -->
18
+ <xsl : when test =" substring($token, string-length($token)) = '.'" >
19
+ <xsl : variable name =" token2" select =" substring($token, 1, string-length($token) - 1)" />
20
+ <xsl : variable name =" ref2" select =" key('symbols', $token2)" />
21
+ <xsl : choose >
22
+ <xsl : when test =" $ref2" >
23
+ <a href =" libxml2-{$ref2/@file}.html#{$ref2/@name}" ><xsl : value-of select =" $token2" /></a >
24
+ <xsl : text >.</xsl : text >
25
+ </xsl : when >
26
+ <xsl : otherwise >
27
+ <xsl : value-of select =" $token" />
28
+ </xsl : otherwise >
29
+ </xsl : choose >
30
+ </xsl : when >
17
31
<xsl : otherwise >
18
32
<xsl : value-of select =" $token" />
19
33
</xsl : otherwise >
You can’t perform that action at this time.
0 commit comments