Hi Andrew,
If I've understood you correctly, you want to count the number of <Y>
elements at a given level?
I think my question was indeed very poorly frased.
Thank you for this, though. I think if no solution is possible, I can
perhaps tweak this to fit my needs. I will have to look much at it, though.
I have not used <xsl:copy> more than once in my time with xsl (which was
from a solution from DC),.
Here the level of each <Y> element is added to it using the moded identity
transform - with that information you can then work out whatever you want.
I will try and work it out.
Again, my thanks.
Ragulf Pickaxe :-)
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
--~------------------------------------------------------------------
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>
--~--