Subject: Re: [xsl] Re: Keeping a running total? From: Steve <subsume@xxxxxxxxx> Date: Mon, 17 Jul 2006 12:13:14 -0400 |
<xsl:for-each select='$var//x'> <xsl:apply-templates match='.' /> </xsl:for-each>
*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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Keeping a running tot, Steve | Thread | Re: [xsl] Re: Keeping a running tot, Florent Georges |
RE: [xsl] Matching elements based o, Michael Kay | Date | Re: [xsl] Matching elements based o, Florent Georges |
Month |