These are two different questions. The answer to the first one is no. The
DOM spec doesn't impose this behavior to implementations.
On the other hand, to answer your second question, assuming the document
doesn't get modified between the calls the order of the nodes it contains
will be the same.
--
Arnaud Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.
-----Original Message-----
From: Ron Rothblum [mailto:RONR@il.ibm.com]
Sent: Tuesday, February 04, 2003 5:01 AM
To: general@xml.apache.org
Subject: getChildNodes
Can I always be sure that the method 'getChildNodes()' will return the same
NodeList or can the order of the nodes be different from call to call?
Thanks,
Ron Rothblum.
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
|