forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r609382 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl
Date Sun, 06 Jan 2008 19:34:33 GMT
Author: rgardler
Date: Sun Jan  6 11:34:33 2008
New Revision: 609382

URL: http://svn.apache.org/viewvc?rev=609382&view=rev
Log:
Correct use of "," in list of maintainers

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl?rev=609382&r1=609381&r2=609382&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl
Sun Jan  6 11:34:33 2008
@@ -86,13 +86,13 @@
   </xsl:template>
   
   <xsl:template name="contributors">
-    <xsl:if test="doap:maintainer|doap:developer|doap:helper">
-      "person" : [<xsl:apply-templates select="doap:maintainer|doap:developer|doap:helper"/>],
+    <xsl:if test="doap:documentor|doap:maintainer|doap:developer|doap:helper">
+      "person" : [<xsl:apply-templates select="doap:maintainer|doap:documentor|doap:developer|doap:helper"/>],
     </xsl:if>
   </xsl:template>
   
-  <xsl:template match="doap:maintainer|doap:developer|doap:helper">
-    <xsl:apply-templates select="foaf:Person"/><xsl:if test="not(following-sibling::doap:maintainer|doap:developer|doap:helper)">,</xsl:if>
+  <xsl:template match="doap:documentor|doap:maintainer|doap:developer|doap:helper">
+    <xsl:apply-templates select="foaf:Person"/><xsl:if test="following-sibling::doap:maintainer|following-sibling::doap:documentor|following-sibling::doap:developer|following-sibling::doap:helper">,</xsl:if>
   </xsl:template>
   
   <xsl:template match="foaf:Person">



Mime
View raw message