From: Egon W. <eg...@us...> - 2005-04-28 14:03:32
|
Update of /cvsroot/cdk/cdk/doc/javadoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20972 Modified Files: build.xml Added Files: dictRefs2HTML.xsl Log Message: Added Taglet for creating Plone pages --- NEW FILE: dictRefs2HTML.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/28 14:03:16 $ $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="/"> <div><div> <h2>Dictionary References</h2> </div></div> <div><div> <h3>Blue Obelisk Chemoinformatics Dictionary</h3> </div></div> <table> <xsl:for-each select="//dictRef[./dictionary='blue-obelisk']"> <xsl:sort select="."/> <xsl:apply-templates select="."/> </xsl:for-each> </table> <div><div> <h3>QSAR.sf.net Descriptors Dictionary</h3> </div></div> <table> <xsl:for-each select="//dictRef[./dictionary='qsar-descriptors']"> <xsl:sort select="."/> <xsl:apply-templates select="."/> </xsl:for-each> </table> </xsl:template> <xsl:template match="dictRef"> <tr> <td><xsl:value-of select="./dictionary"/><xsl:text>:</xsl:text><xsl:value-of select="./entry"/></td> <td> <xsl:element name="a"> <xsl:attribute name="href">http://cdk.sf.net/<xsl:value-of select="./api"/></xsl:attribute> <xsl:value-of select="./class"/> </xsl:element> </td> </tr> </xsl:template> </xsl:stylesheet> Index: build.xml =================================================================== RCS file: /cvsroot/cdk/cdk/doc/javadoc/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- build.xml 11 Jun 2004 09:44:11 -0000 1.8 +++ build.xml 28 Apr 2005 14:03:15 -0000 1.9 @@ -51,6 +51,19 @@ </javadoc> </target> + <target name="dictref.index" id="dictref.index" depends="compileDoclets"> + <javadoc private="false" public="true"> + <classpath refid="project.class.path" /> + + <doclet name="MakeDictionaryIndexDoclet" path="."/> + + <packageset dir="../../src/"> + <include name="org/openscience/cdk/**"/> + <exclude name="org/openscience/cdk/test/**"/> + </packageset> + </javadoc> + </target> + <target name="classes.mod" id="classes.mod" depends="compileDoclets"> <javadoc private="false" public="true"> <classpath refid="project.class.path" /> |