Re: [xsl] Re: Keeping a running total?

Subject: Re: [xsl] Re: Keeping a running total?
From: Steve <subsume@xxxxxxxxx>
Date: Thu, 13 Jul 2006 13:55:23 -0400
What if the template match=xml is a variable (remote document() tree)?

What becomes of...

<xsl:template match="xml">
  <xsl:apply-templates select="factory">
      <xsl:with-param name="leftW" select="$Widget_quota" />
      <xsl:with-param name="leftG" select="$Gadget_quota" />
  <xsl:apply-templates select="factory">
</xsl:template>

(having trouble applying
http://www.stylusstudio.com/xsllist/200211/post11130.html)

On 7/12/06, Andrew Franz <afranz0@xxxxxxxxxxxxxxxx> wrote:
Okay, assuming the following input:

<xml>
 <factory x="A" capacity = "3" />
 <factory x="B" capacity= "5" />
  <factory x="C" capacity = "3" />
  <factory x="D" capacity = "2" />
  <factory x="E" capacity = "2" />
  ...etc...
</xml>

Current Thread