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

Subject: Re: [xsl] Re: Keeping a running total?
From: Steve <subsume@xxxxxxxxx>
Date: Mon, 17 Jul 2006 12:13:14 -0400
Nevervmind.

Got it with

<xsl:for-each select='$var//x'>
<xsl:apply-templates match='.' />
</xsl:for-each>

On 7/17/06, Steve <subsume@xxxxxxxxx> wrote:
*cough*.

On 7/13/06, Steve <subsume@xxxxxxxxx> wrote:
> 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