lmandel | 1c95eaf | 2005-12-07 06:38:54 +0000 | [diff] [blame^] | 1 | <?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 | <?NLS TYPE="org.eclipse.help.toc"?> |
| 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> |