David, it works!!!!
Many thanks for this tip. That was going to drive me crazy.
I have co convince my company to update to XSLT 2.0 to avoid stuff like
that.
Regards
Houman
<xsl:for-each select="*/Product"
<xsl:call-template name="genericMapping">
<xsl:with-param name="quantity" select="$Quantity"/>
This means that you pass the same $quantity value (the set of all
quantity attributes) for each product. I think you just want to pass in
the current Quantity attribute ie select="@Quantity, which moeans that
you do notneed the Quantity variable defined above.
</xsl:call-template>
</xsl:for-each>
</xsl:if>
</xsl:template>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--