[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: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 13 Apr 2000 08:41:10 +0100
RE: process order (still...)
Mike Brown 

>So, count(@*) should never vary, but generate-id(@*[1]) in one
>implementation might be equal to generate-id(@*[5]) in some other
>implementation. 

I would hope that would fail Mike.
An id on an attribute?
<q>The generate-id function returns a string that uniquely identifies the
node 
in the argument node-set that is first in document order. </q>
I see the param is node-set, so perhaps you are right!
I'd love to see that tested :-)


>Also, it seems to be complicated by the fact that element 
>nodes do have a
>natural order. Take for example the node-set returned by this XPath
>expression for an imaginary XHTML document: "//img/@*" ... Could I be
>assured that //img[1]'s attribute nodes would come before //img[2]'s?

Suggest yes because then you are dealing with the in-memory
model which should be consistant.

Regards, DaveP


 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.