RE: [xsl] 2 Questions: (1) about looping for declaring table colu mns (2) variable table widths

Subject: RE: [xsl] 2 Questions: (1) about looping for declaring table colu mns (2) variable table widths
From: "McKeever, Marty" <marty.mckeever@xxxxxxxxxxxxxxxxx>
Date: Tue, 28 Aug 2001 13:40:16 -0400
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


Current Thread