[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: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 15:31:31 +0000
firstchild and attribute
Hi Dimitre,

I think I've got it straight in my head now...

> 1. Some nodes will have attributes that were not explicitly
> expressed in the text of the xml document, but were
> defined/defaulted in a DTD. What will be the "document order" for @*
> in this case?

I expect that they'll be sorted in the same implementation-specific
order as the rest of the attributes: probably alphabetically.

> 2. (//* | //@*)
> What is the "document order for the above node-set?

The document element, its attributes, its first child, its attributes,
its first child, its attributes and so on.  Basically, the element
first, then the attributes defined on that element, then the element
children of that element.  In:

<foo bar="bar">
  <baz />
</foo>

The document order would be the foo element, the bar attribute and the
baz element.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



 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.