On 7/11/06, andrew welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com>
wrote:
<xsl:when test="count(preceding-sibling::factory/@widget) > $limit">
Seems like this only if the prior one had exceeded the quota.
Failing that, come up with a concise input XML and give an example of
the required output XML. Your original question was a bit wordy...
Um...sure...
<xml>
<factory x="A" capacity="2">
<factory x="B" capacity="1">
<factory x="C" capacity="2">
<factory x="D" capacity="1">
<factory x="E" capacity="2">
</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>
--~--