|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: counting the number of time i call a template
> > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








