In article <11**********************@g14g2000cwa.googlegroups .com>,
KJ <n_**********@mail.com> wrote:
I'd like to know what the difference is between these 2 expressions:
parent::*/preceding-sibling::tagname
VS
parent::preceding-sibling::tagname
Well the second one is a syntax error! axis:: is always followed by a
node-test. parent::preceding-sibling means all parent nodes called
preceding-sibling. (Obviously there's only one parent node, so
it really means "the parent node if it's called preceding-sibling,
otherwise nothing".)
-- Richard