This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Converting XML source to CSV output


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]