xsl-list
[Top] [All Lists]

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

2006-07-13 12:15:46
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(_at_)optushome(_dot_)com(_dot_)au> 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>


--~------------------------------------------------------------------
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>
--~--