[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Xpath problem?

Subject: Re: Xpath problem?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2006 11:22:31 -0400
Re:  Xpath problem?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.