Skip to main content
summaryrefslogtreecommitdiffstats
blob: 627d57cd4bef4027eae89b0d885404876a4f1adc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:xalan="http://xml.apache.org/xslt"
    exclude-result-prefixes="xalan">
    <xsl:param name="listed-ext-points"/>
    
     <xsl:template match="components">
     	<xsl:text disable-output-escaping="yes">
&lt;?NLS TYPE="org.eclipse.help.toc"?&gt;
	 	</xsl:text>
	 	<toc label="Extension Points Reference">
	 		<xsl:for-each select="document(component/@file)/files/file">
	 			<xsl:sort select="text()"/>
	 			<!-- <xsl:if test="contains($listed-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.'))"> -->
	 				<topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/api/{text()}">
	 				</topic>
	 			<!-- </xsl:if> -->
	 		</xsl:for-each>
	 	</toc> 
	</xsl:template>
</xsl:stylesheet>

Back to the top