blob: 735638c8980c1ac6a31c41cdc825efb0a39e8085 [file] [log] [blame]
lmandel1c95eaf2005-12-07 06:38:54 +00001<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 version="1.0"
4 xmlns:xalan="http://xml.apache.org/xslt"
5 exclude-result-prefixes="xalan">
6
7 <xsl:template match="components">
8 <xsl:text disable-output-escaping="yes">
9&lt;?NLS TYPE="org.eclipse.help.toc"?&gt;
10 </xsl:text>
11 <toc label="Extension Points Reference">
12 <xsl:for-each select="document(component/@file)/files/file">
13 <xsl:sort select="text()"/>
14 <topic label="{translate(substring(text(), 0, string-length(text()) - 4),'_','.')}" href="reference/extension-points/{../@component}/{text()}">
15 </topic>
16 </xsl:for-each>
17
18 </toc>
19 </xsl:template>
20</xsl:stylesheet>