xsl-list
[Top] [All Lists]

Re: [xsl] Xpath problem?

2006-06-28 08:25:23
At 11:06 AM 6/28/2006, Georges wrote:
Seth Foss wrote:

> 'allMaxTime' is called. If I move the for-each loop from 'max' and
> put it into  'allMaxTime', then it works fine, which it wouldn't if
> 'allMaxTime was not called at all.

> The reason 'max' is a separate template is that different places pass
> different groups of nodes to the max template, i.e. it is resused. If
> I have to, I will just have duplicate code, but I would like to know
> why it isn't being called directly.

  Can you please submit a simple example reproducing the problem?  That
is, a minimal XML input with a minimal XSLT script with the two
template versions.

Good idea. Always a good idea.

Often when creating such a minimal sample, one finds the problem oneself. It's a good debugging technique even without a list to ask. :-)

Cheers,
Wendell


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

<Prev in Thread] Current Thread [Next in Thread>