You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2008/01/06 20:34:33 UTC
svn commit: r609382 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-JSON.xsl
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">