This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: 2 Questions: (1) about looping for declaring table colu mns(2) variable table widths
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] 2 Questions: (1) about looping for declaring table colu mns(2) variable table widths
- From: "McKeever, Marty" <marty dot mckeever at bankofamerica dot com>
- Date: Tue, 28 Aug 2001 13:40:16 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
I hope this is just an oversight in your email - otherwise, it's the likely
cause of your error messages.
Your example (any of them will do):
<xsl:call-template name ="tableColumn" />
<xsl:with-param name="index" select="@cols" />
</xsl:call-template>
This is invalid because your first call-template tag is empty! (check the /
at the end)
What you have written is in-effect:
<xsl:call-template name ="tableColumn">
</xsl:call-template>
<xsl:with-param name="index" select="@cols" />
</xsl:call-template>
which is obviously not what you want. Try instead:
<xsl:call-template name ="tableColumn">
<xsl:with-param name="index" select="@cols" />
</xsl:call-template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list