> Is it guranted to be in the same order as the XML doc ?
> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca126.htm#wp4279636
Looking over the w3c stuff (and I hate doing that - hard read) It looks
like element order will be in order, but attribute and name space
declarations may or may not be in order - It's implementation specific
(Xalan in MX I think).
Best to just run a test to be sure though
http://www.w3.org/TR/1999/REC-xpath-19991116#dt-document-order
...
There is an ordering, document order, defined on all the nodes in the
document corresponding to the order in which the first character of the
XML representation of each node occurs in the XML representation of the
document after expansion of general entities. Thus, the root node will
be the first node. Element nodes occur before their children. Thus,
document order orders element nodes in order of the occurrence of their
start-tag in the XML (after expansion of entities). The attribute nodes
and namespace nodes of an element occur before the children of the
element. The namespace nodes are defined to occur before the attribute
nodes. The relative order of namespace nodes is
implementation-dependent. The relative order of attribute nodes is
implementation-dependent. Reverse document order is the reverse of
document order.
...
--
Rob <[EMAIL PROTECTED]>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

