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"/> |
| 8 | |
| 9 | <xsl:template match="components"> |
| 10 | |
| 11 | <xsl:text disable-output-escaping="yes"> |
| 12 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> |
| 13 | </xsl:text> |
| 14 | <html> |
| 15 | <head> |
| 16 | <xsl:text disable-output-escaping="yes"> |
| 17 | <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." > |
| 18 | |
| 19 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 20 | </xsl:text> |
| 21 | <title><xsl:value-of select="$title"/></title> |
| 22 | <xsl:text disable-output-escaping="yes"> |
| 23 | <LINK REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| 24 | </xsl:text> |
| 25 | </head> |
| 26 | <body link="#0000FF" vlink="#800080"> |
| 27 | |
| 28 | <center> |
| 29 | <h1><xsl:value-of select="$header"/></h1> |
| 30 | </center> |
| 31 | |
| 32 | <xsl:value-of select="$overview"/> |
| 33 | <xsl:for-each select="component"> |
| 34 | <xsl:sort select="@id"/> |
| 35 | <h3><a name="{@id}"></a><xsl:value-of select="@name"/></h3> |
| 36 | <ul> |
| 37 | <xsl:for-each select="document(@file)/files/file"> |
| 38 | <xsl:sort select="text()"/> |
| 39 | <li> |
| 40 | <a href="{../@component}/{text()}"><xsl:value-of select="translate(substring(text(), 0, string-length(text()) - 4),'_','.')"/></a> |
| 41 | </li> |
| 42 | </xsl:for-each> |
| 43 | </ul> |
| 44 | </xsl:for-each> |
| 45 | </body> |
| 46 | </html> |
| 47 | </xsl:template> |
| 48 | </xsl:stylesheet> |