Hi , I am genearting a excel file from a XML file using XSLT. But I am not able to do any styling on that genearted file. I am following the below approach.
<xsl:template match="auditReports"> <xsl:variable name="is-all"><xsl:value-of select="auditValue/rowNum/node()" /></xsl:variable> <Table x:FullColumns="1" x:FullRows="1"> <Row><Cell ss:StyleID="Default"><Data ss:Type="String"> Audit Trail Report </Data></Cell></Row> <xsl:apply-templates select="reportHeader"> <xsl:with-param name="is-header"><xsl:value-of select="1"/> </xsl:with-param> </xsl:apply-templates> </Table> -------------------- I want to display "Audit Trial Report" bold and colorful. For that currently we are using <Row><Cell ss:StyleID="Default">..
Please how can solve this problem.... is there any other way I can solve this ?? Thanks in advance. Waiting for your replies......
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
Maybe the best way to approach this is to create a file in Excel that contains everything you're trying to create, and then saving it in the XML format. Then you could look at it to see which parts you're missing.
Thanks Ulf Dettmer , we have mistakenly put <xslutput method="text" > and we haven't given any name for the <worksheet> . after removing the <xslutput method="text" > (by default 'xml') and adding the <worksheet> name it works fine.