Author: rgardler
Date: Fri Jun  8 04:40:29 2007
New Revision: 545483

URL: http://svn.apache.org/viewvc?view=rev&rev=545483
Log:
Ensure only one line break after each record (there has to be a tidier way of 
doing this - any clue?)

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

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-contactsCSV.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-contactsCSV.xsl?view=diff&rev=545483&r1=545482&r2=545483
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-contactsCSV.xsl
 (original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-contactsCSV.xsl
 Fri Jun  8 04:40:29 2007
@@ -34,17 +34,16 @@
     <xsl:template match="descriptor">
         <xsl:apply-templates />
     </xsl:template>
-    <xsl:template match="doap:Project">
-        <xsl:apply-templates />
-    </xsl:template>
+    
+    <xsl:template match="doap:Project"><xsl:apply-templates /></xsl:template>
+    
     <xsl:template match="doap:maintainer">
       <xsl:if test="starts-with(foaf:Person/foaf:mbox/@rdf:resource, 
'mailto:')">
-        <xsl:value-of select="normalize-space(../doap:name)" 
/>,<xsl:apply-templates />
-<xsl:text>
-
-</xsl:text>
-      </xsl:if>
+      <!-- the stange formatting in this line is to ensure only one line break 
after each record (there has to be a tidier way of doing this - any clue?) -->
+        <xsl:value-of select="normalize-space(../doap:name)" 
/>,<xsl:apply-templates /><xsl:text> 
+</xsl:text></xsl:if>
     </xsl:template>
+    
     <xsl:template match="foaf:Person">
         <xsl:apply-templates select="foaf:name" />,<xsl:apply-templates 
select="foaf:mbox" />
     </xsl:template>