This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: recursions?


Hi Wendell,

> This would work, wouldn't it Jeni? It's kind of a refinement of the
> count(ancestor::*) technique.

Yep, good point :) (Although if you're doing deep nesting it's
probably slightly more efficient to pass down a parameter as you go
rather than iterate over all the ancestors of each node.)

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]