Subject:Finding ancestor element with id attribute Author:Kurt Martin Date:02 Jan 2007 04:34 PM
I need a template that will allow me to walk up each node and return the first ancestor to have an id attribute. The id attributes are not required for any of the elements, so I need to dynamically walk up the tree and return the next id value.