This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]