[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: the nearest ancestor with the attribute

Subject: Re: the nearest ancestor with the attribute
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 15:05:48 -0500
find nearest xslt
At 01/01/18 16:03 +0000, Jeni Tennison wrote:
Ken Holman wrote:
> Note that attribute and namespace axes are *not* unordered (you can
> index into them), just that the order cannot be relied upon. There
> is an important nuance.

When you say that the order can't be relied on, do you mean:
(a) within a run of a stylesheet?
(b) between two runs of a stylesheet?
(c) between two XSLT processors?

Technically, any of the above. If an implementation doesn't keep it consistent, that shouldn't have any effect on a properly written stylesheet (i.e. one that does not ever rely on the order).


I'm pretty sure that it's only the latter; on a quick scan I can't
find anything that says that the attributes must be in the same order
even within a run,

Precisely ... it is totally up to the implementation, so the stylesheet shouldn't make any assumptions whatsoever.


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

--
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   (Fax:-0995)
Web site:     XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book:   Practical Transformation Using XSLT and XPath ISBN1-894049-05-5
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training:             2001-01-27,2001-02-21,
-                            2001-02-27/03-01,2001-03-05/07,2001-03-21,
-                                   2001-04-06/07,2001-05-01,2001-09-19
NB: Monday deadline for early-bird pricing for 3-day hands-on training.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.