Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: =?iso-8859-1?q?parent::*/preceding-sib=ADling::tagname_VS_parent::preceding-sib=ADling::tagname?=

From: richard@------.--.--.-- (------- -----)
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent