blob: 14116af11458cf1c50d50a921b370d8af0e00f69 [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 <xsl:param name="title"/>
6 <xsl:param name="header"/>
7 <xsl:param name="overview"/>
lmandele5e182d2005-12-08 01:24:32 +00008 <xsl:param name="internal-ext-points"/>
lmandel1c95eaf2005-12-07 06:38:54 +00009
10 <xsl:template match="components">
11
12 <xsl:text disable-output-escaping="yes">
13 &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"&gt;
14 </xsl:text>
15 <html>
16 <head>
17 <xsl:text disable-output-escaping="yes">
18 &lt;meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." &gt;
19
20 &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
21 </xsl:text>
22 <title><xsl:value-of select="$title"/></title>
23 <xsl:text disable-output-escaping="yes">
24 &lt;LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css"&gt;
25 </xsl:text>
26 </head>
27 <body link="#0000FF" vlink="#800080">
28
29 <center>
30 <h1><xsl:value-of select="$header"/></h1>
31 </center>
32
33 <xsl:value-of select="$overview"/>
34 <xsl:for-each select="component">
35 <xsl:sort select="@id"/>
36 <h3><a name="{@id}"></a><xsl:value-of select="@name"/></h3>
37 <ul>
38 <xsl:for-each select="document(@file)/files/file">
39 <xsl:sort select="text()"/>
lmandele5e182d2005-12-08 01:24:32 +000040 <xsl:if test="not(contains($internal-ext-points, translate(substring(text(), 0, string-length(text()) - 4),'_','.')))">
41 <li>
42 <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a>
43 </li>
44 </xsl:if>
lmandel1c95eaf2005-12-07 06:38:54 +000045 </xsl:for-each>
46 </ul>
47 </xsl:for-each>
48 </body>
49 </html>
50 </xsl:template>
51</xsl:stylesheet>