Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] ancestor axis order

From: "G. Ken Holman" <gkholman@-------------------->
To:
Date: 5/4/2004 4:13:00 AM
At 2004-05-04 12:34 +0100, David.Pawson@xxxxxxxxxxx wrote:
Ken said:



    But, below is the use of the test:



       <xsl:when test="ancestor::choice/ancestor::define">



    I hope this helps.



Yes Ken. perfect.
I wonder why I always interpret / as being 'down-tree' :-) as apposed
to your use, where it continues in the ancestor axis?

It is not uncommon for my students when they first show up in my class and 
have been using XPath beforehand ... I then get them to think of "/" as 
"take a step" and that step can be taken in any direction (axis) including 
"up the tree".



.................. Ken



--
Public courses: Spring 2004 world tour of hands-on XSL instruction
Each week:   Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO

Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18



World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


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