Revision: 5216
Author: nicove
Date: 2006-06-10 09:59:05 -0700 (Sat, 10 Jun 2006)
ViewCVS: http://svn.sourceforge.net/jmol/?rev=5216&view=rev
Log Message:
-----------
Fah
Added Paths:
-----------
trunk/Jmol-web/source/doc/fah/createAvailableProjectList.xsl
Added: trunk/Jmol-web/source/doc/fah/createAvailableProjectList.xsl
===================================================================
--- trunk/Jmol-web/source/doc/fah/createAvailableProjectList.xsl
(rev 0)
+++ trunk/Jmol-web/source/doc/fah/createAvailableProjectList.xsl
2006-06-10 16:59:05 UTC (rev 5216)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:output method="text" indent="no"/>
+
+ <xsl:template match="/">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="fah_projects">
+ <xsl:for-each select="fah_proj" >
+ <xsl:value-of select="." />
+ <xsl:if test="@number">
+ <xsl:if test="@name">
+ <!-- Project file name -->
+ <xsl:choose>
+ <xsl:when test="@file = 'y'">
+ <xsl:value-of select="@number" />
+ <xsl:text>
+</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:template>
+
+</xsl:stylesheet>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits