On 09/06/07, Gav.... <[EMAIL PROTECTED]> wrote:
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, 8 June 2007 7:41 PM > To: [EMAIL PROTECTED] > Subject: svn commit: r545483 - > /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/res > ources/stylesheets/descriptorIndex-to-contactsCSV.xsl > > 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?) I got any empty contacts.csv file when requesting http://localhost:8888/projectDetails/contacts.csv Have I missed out a step (this is working directly from the plugin which I assume had sample data to go in here.)
I confess to not having tested it in the docs for the plugin, I did this for a site I have that uses the doap plugin. It is, of course, a fair assumption that the plugin itself would have a working sample in it - sorry! Anyway, long story short, I've fixed it now (wasn't handling cases where root element was rdf:RDF)
I found this http://sleepyhead81.blogspot.com/2004/08/line-breaks-in-xslt.html but have not been able to try its technique, nor if it appropriate until it has been tried.
That's the method (well a slight variation of the method) I am using - it's just clumsy and so does not feel right.. Ross
