On 2011-02-08 08:03, Szabo, Patrick (LNG-VIE) wrote:
I think that preceding includes ancestors too so you could try leaving the
ancestor::*[1] out.
No, preceding doesn't include ancestors, see http://www.w3.org/TR/xpath20/
"the preceding axis contains all nodes that are descendants of the root
of the tree in which the context node is found, are not ancestors of the
context node, and occur before the context node in document order"
--~------------------------------------------------------------------
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>
--~--