From: Egon W. <eg...@us...> - 2005-04-30 10:05:33
|
Update of /cvsroot/cdk/cdk/doc/javadoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14732 Modified Files: .cvsignore Added Files: keywordIndex2HTML.xsl Log Message: Updated the keyword index page for Plone --- NEW FILE: keywordIndex2HTML.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> <!-- $Author: egonw $ $Date: 2005/04/30 10:05:13 $ $Revision: 1.1 $ --> <xsl:output method="xml" indent="yes" omit-xml-declaration="no" encoding="utf-8"/> <xsl:template match="*"> <xsl:apply-templates/> </xsl:template> <xsl:template match="text()"> <xsl:value-of select="."/> </xsl:template> <xsl:template match="/"> <xsl:for-each select="//indexentry"> <xsl:sort select="."/> <xsl:apply-templates select="."/> </xsl:for-each> </xsl:template> <xsl:template match="indexentry"> <xsl:choose> <xsl:when test="count(./secondaryie) > 0"> <xsl:apply-templates select="./primaryie"/> <ul> <xsl:for-each select="./secondaryie"> <xsl:apply-templates select="."/> </xsl:for-each> </ul> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="./primaryie"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="primaryie"> <b><xsl:value-of select="./keyword"/></b> <xsl:text> </xsl:text> <ul> <xsl:for-each select="./ulink"> <xsl:apply-templates select="."/><br/> </xsl:for-each> </ul> </xsl:template> <xsl:template match="secondaryie"> <b><xsl:value-of select="./keyword"/></b> <xsl:text> </xsl:text> <ul> <xsl:for-each select="./ulink"> <xsl:apply-templates select="."/><br/> </xsl:for-each> </ul> </xsl:template> <xsl:template match="ulink"> <xsl:element name="a"> <xsl:attribute name="href">http://cdk.sf.net<xsl:value-of select="@url"/></xsl:attribute> <xsl:value-of select="."/> </xsl:element> </xsl:template> </xsl:stylesheet> Index: .cvsignore =================================================================== RCS file: /cvsroot/cdk/cdk/doc/javadoc/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 15 Jan 2005 22:47:44 -0000 1.3 +++ .cvsignore 30 Apr 2005 10:05:13 -0000 1.4 @@ -1,6 +1,8 @@ *.class *.stats keyword.index.xml +cdk.dictref.xml classes*.mod depends.xml builddepends.xml +index_html |