This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Converting XML source to CSV output
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Converting XML source to CSV output
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Wed, 19 Sep 2001 15:42:56 -0400
- References: <8D8652832ADD6D4782E73C1EAF0384F7131F85@porsche.future3.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
[Chris Pearson]
> I'm having 2 issues:
> 1) How to repeat the header (and Body data) for detail records
Create a variable for each header and send it as a parameter to the template
that creates the detail record. That way you can add it to each detail.
> 2) How to format it without extra white space
Keep extra white space out of your templates. You may have put it in for
readability and not even notice that it's there. Also, whitespace between
nodes in the output tends to be processor-dependent.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list