Altova Mailing List Archives

Re: [xsl] Can sets have order?

From: Mike Moran <Mike.Moran@----------->
Date: 1/25/2001 7:22:00 AM
Uche Ogbuji wrote:
[ ... ]
> >
> > Mainly of course we are just arguing about words, for the fun of it,
> > but if one was constructing ordered sets I would expect ancestor::*
> > to construct the set of ancestors with reverse document ordering,
> Why?
> > It just constructs the set of ancestors.
> In a particular order, right?  Do you claim that it can return a node set in
> any order besides reverse document order?

Isn't it a bit confusing to say that it returns it in reverse document
order? My understanding is that ancestor:: is ordered most immediate
first i.e direct parent, then parent of parent and so on, all the way up
to the root. This happens to be equivalent to reverse document order due
to the way xml trees are serialised, but that is not how I would think
of it when using them.

Is the preciding sibling axis ordered by document order?


 XSL-List info and archive:


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 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.