Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - =?iso-8859-1?q?parent::*/preceding-sib=ADling::tagname_VS_parent::preceding-sib=ADling::tagname?= [Thread Next] Re: =?iso-8859-1?q?parent::*/preceding-sib=ADling::tagname_VS_parent::preceding-sib=ADling::tagname?=To: NULL Date: 6/2/2005 5:08:00 PM In article <1117731594.030165.176820@g...>, KJ <n_o_s_p_a__m@m...> 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
