How would I keep track of the elements I have processed?
maybe it's just me not understanding the problem description
but can't you just use normal tree traversal here
<xsl:apply-templates/>...
<xsl:template match="bitfield">
<xsl:call-template whatever recursive algorithm you wanted to do...
maybe it would help if you showed the desired output given your input
fragment
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list