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 | <xsl:param name="title"/> |
| 6 | <xsl:param name="header"/> |
| 7 | <xsl:param name="overview"/> |
lmandel | e5e182d | 2005-12-08 01:24:32 +0000 | [diff] [blame] | 8 | <xsl:param name="internal-ext-points"/> |
lmandel | 1c95eaf | 2005-12-07 06:38:54 +0000 | [diff] [blame] | 9 | |
| 10 | <xsl:template match="components"> |
| 11 | |
| 12 | <xsl:text disable-output-escaping="yes"> |
| 13 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> |
| 14 | </xsl:text> |
| 15 | <html> |
| 16 | <head> |
| 17 | <xsl:text disable-output-escaping="yes"> |
| 18 | <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." > |
| 19 | |
| 20 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 21 | </xsl:text> |
| 22 | <title><xsl:value-of select="$title"/></title> |
| 23 | <xsl:text disable-output-escaping="yes"> |
| 24 | <LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| 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()"/> |
lmandel | e5e182d | 2005-12-08 01:24:32 +0000 | [diff] [blame] | 40 | <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> |
lmandel | 1c95eaf | 2005-12-07 06:38:54 +0000 | [diff] [blame] | 45 | </xsl:for-each> |
| 46 | </ul> |
| 47 | </xsl:for-each> |
| 48 | </body> |
| 49 | </html> |
| 50 | </xsl:template> |
| 51 | </xsl:stylesheet> |