Hi, > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Buchcik, Kasimier > Hi, > > As Aron already pointed out, the position() should be of > help. You need to select the descendant-or-self or descendant > axis. > Your expression could look like this: > "//[EMAIL PROTECTED]'2' and parent::instances/parent::[EMAIL PROTECTED]'1']][1]"
Whoops, sorry this should read: "/descendant::[EMAIL PROTECTED]'2' and parent::instances/parent::[EMAIL PROTECTED]'1']][1]" Regards, Kasimier _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
