"Mohammed Zubair" <[EMAIL PROTECTED]> writes:
> i need to know as to whether a NodeList when returned based on some
> query - is an ordered list or unordered???
The list itself is order (hence the item() method), but the order in
which you get the items in the list is dependent on what type of nodes
you're requesting. For example, using getAttributes() the order of the
attributes is not specified by the DOM recommendation (I believe), but
if you're using getChildNodes(), then the order of the nodes is
specified exactly as the order they appear in the document.
HTH,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]