All,
I have an XSLT file that used to style a report in Excel format. I'd like to hard code some values in the XSLT file. These values will be a few lines of disclaimers since the file will soon be used by external clients.
Here's a table being added that displays at the top of the Excel file:
<xsl:template name="CreateWorkSheet">
<xslaram name="PortfolioCode" />
<xsl:element name="Worksheet">
<xsl:attribute name="ss:Name">
<xsl:value-of select="$PortfolioCode"/>
</xsl:attribute>
<xsl:variable name="LiqHorizonCol">
<xsl:call-template name="CalcLiqHorizonColCount">
<xsl:with-param name="PortfolioCode" select="$PortfolioCode" />
</xsl:call-template>
</xsl:variable>
<!-- Common Data -->
<Table x:FullColumns="1" x:FullRows="1">
After the table opens, it writes some basic info about the report and specify the rows/cells in the Excel file:
<Row ss:Index="1">
<Cell>
<Data ss:Type="String">Portfolio Name:</Data>
</Cell>
<Cell>
<Data ss:Type="String">
<xsl:value-of select="ivyortfolioName"/>
</Data>
</Cell>
</Row>
I think the opening tab tells it Row 1 since it appears in the first row.
I tried adding some tags specifying a much lower row but it didn't work. It pushed everything down. My guess is that I need to build a new table at the end of the XSLT file. Anyone know if that's correct or if there's a better way to get my hard coded disclaimers in the Excel file?
Thanks,
Mark
I have an XSLT file that used to style a report in Excel format. I'd like to hard code some values in the XSLT file. These values will be a few lines of disclaimers since the file will soon be used by external clients.
Here's a table being added that displays at the top of the Excel file:
<xsl:template name="CreateWorkSheet">
<xslaram name="PortfolioCode" />
<xsl:element name="Worksheet">
<xsl:attribute name="ss:Name">
<xsl:value-of select="$PortfolioCode"/>
</xsl:attribute>
<xsl:variable name="LiqHorizonCol">
<xsl:call-template name="CalcLiqHorizonColCount">
<xsl:with-param name="PortfolioCode" select="$PortfolioCode" />
</xsl:call-template>
</xsl:variable>
<!-- Common Data -->
<Table x:FullColumns="1" x:FullRows="1">
After the table opens, it writes some basic info about the report and specify the rows/cells in the Excel file:
<Row ss:Index="1">
<Cell>
<Data ss:Type="String">Portfolio Name:</Data>
</Cell>
<Cell>
<Data ss:Type="String">
<xsl:value-of select="ivyortfolioName"/>
</Data>
</Cell>
</Row>
I think the opening tab tells it Row 1 since it appears in the first row.
I tried adding some tags specifying a much lower row but it didn't work. It pushed everything down. My guess is that I need to build a new table at the end of the XSLT file. Anyone know if that's correct or if there's a better way to get my hard coded disclaimers in the Excel file?
Thanks,
Mark