Subject:Carriage return in the output Author:ash chavan Date:24 Oct 2007 11:47 AM
Hello,
I am using the ant task to convert my XML to csv format as follows:
<target name="testcsv">
<xslt style="report-40.csv.xsl" in="40.xml" out="40.csv">
<classpath refid="compile.classpath"></classpath>
<outputproperty name="method" value="xml"/>
<outputproperty name="encoding" value="UTF-8"/>
<outputproperty name="indent" value="yes"/>
<outputproperty name="media-type" value="text/html"/>
</xslt>
</target>
In my xsl, I am using, <xsl:text>
</xsl:text> for the carriage return and line feed but when my process my XML, I see at the end of each line. Could any one tell me what am I doing wrong?
Subject:Tab delimited file in Excel Author:ash chavan Date:08 Nov 2007 11:22 AM
I need some further help on the topic. I am generating my csv file using the task:
<target name="testcsv">
<xslt style="report-40.csv.xsl" in="40.xml" out="40.csv">
<classpath refid="compile.classpath"></classpath>
<outputproperty name="method" value="text"/>
<outputproperty name="encoding" value="UTF-8"/>
<outputproperty name="indent" value="yes"/>
<outputproperty name="media-type" value="application/vnd.ms-excel"/>
</xslt>
</target>
I want to open the file in Microsoft excel but the tabs are displayed as some character and my elements are separated based on comma.
What am I doing wrong here? Any help would be appreciated.