This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Seeking XPATH
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Seeking XPATH
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 6 Mar 2001 09:22:31 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Try to append "/.." at the end, e.g. A/B[@NM = "case3"]/..
Or what I would regard as more natural:
A[B[@NM="case3"]]
Or you could always write it as
//@NM/parent::B/parent::A
if you really want!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list