View Single Post
  #4 (permalink)  
Old March 29th, 2012, 11:26 AM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Err, well you'd get it to output XML rather than CSV by writing XML in the XSLT, rather than text.

e.g.

Code:
<Sku><xsl:value-of select="Sku"/></Sku>
or indeed if you want to copy an element directly then just:

Code:
<xsl:copy select="Sku"/>
I find it hard to believe that you have managed to learn to get XSLT to output csv, something which is not its primary aim, and don't know how to output XML, when that is its usual purpose.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
The Following User Says Thank You to samjudson For This Useful Post:
jonnyuk3 (March 29th, 2012)