Hi I am tryign to use this to print my table in landscape by default. i am new at the xsl and need some assistance. when i try to use the following i get the error:
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Variable or parameter 'printingtype' cannot have both a select attribute and non-empty content.
code:
<xsl
aram name="printingtype" select="'landscape'">
<xsl:variable name="pageheight">
<xsl:choose>
<xsl:when
test="$printingtype='landscape'">21</xsl:when>
<xsl
therwise>29.7</xsl
therwise> </xsl:choose> </xsl:variable> <xsl:variable name="pagewidth"> <xsl:choose> <xsl:when test="$printingtype='landscape'">29.7</xsl:when> <xsl
therwise>21</xsl
therwise> </xsl:choose> </xsl:variable>
Any guidance would be appreciated.
thanks
shen
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Variable or parameter 'printingtype' cannot have both a select attribute and non-empty content.
code:
<xsl
<xsl:variable name="pageheight">
<xsl:choose>
<xsl:when
test="$printingtype='landscape'">21</xsl:when>
<xsl
Any guidance would be appreciated.
thanks
shen