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

Re: process order (still...)

Subject: Re: process order (still...)
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 13 Apr 2000 11:38:50 -0600 (MDT)
process order
I wrote:
> > But... why? What is the point of leaving attribute order
> > up to the parser? 

David Carlisle wrote: 
> Because attributes have no inherent order.

I'm asking why do they have no inherent order. "Because the implementation
might be some wacky hash table" is a circular argument. But you did almost
satisfy my curiosity with this point:

> consider attribute defaulting from a DTD. If the DTD supplies an
> attribute a parser will add it, but nothing in the XML spec says whether
> the attribute should be first or last or in alphabeic order
> [...] when that is exposed as the input
> tree to XSL you will see different results on different systems.

It still seems a bit arbitrary that certain types of nodes simply don't
have an inherent order. If order can be imposed on elements, text,
comments and processing-instructions...

> Surely you don't expect me to read the spec! I just learn XSL by
> answering questions on this list, then waiting for people to correct me.

Touché!

> (In that case I think `processed in document order' has to mean
> `processed in any order at all, but results added to output tree in
> document order, otherwise something is wrong with the world)

Agreed. See my reply to Michael Kay for more on this.

   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/    http://www.webb.net/


 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.