Subject: Re: [xsl] counting the number of time i call a template From: Floch "Jean-Sébastien" <jsfloch@xxxxxxxxx> Date: Fri, 19 Jan 2001 03:06:30 -0800 (PST) |
> > I have to count the number of time i call a > template > No you need to generate a number based on some > property of the > input. You just need to specify what that function > is. In fact, the number i want to generate depends on the input document, but also on the transformation done at process time. Imagine that the function is too complex to be expressed in that case. The only way i found is to call a template, and (try to) count the number of time it's called. > If you did use an extension function to get the side > effect of counting > or used saxon:assign then note that you would have > no assurance that > you got the value that you want. templates may be > evaluated in any > order, or in parallel. There is no assurance that > the system builds the > tree in the same order that it is output. That's why i' looking for a "pure" xsl solution > David Thanks David, Jean-Sebastien __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] counting the number of ti, David Carlisle | Thread | Re: [xsl] counting the number of ti, David Carlisle |
Re: [xsl] counting the number of ti, David Carlisle | Date | Re: [xsl] Images and XSL FO, David Tolpin |
Month |