Does the order maintained when using NodeCollection

Hi,

I want to confirm when we use getChildNodes(), does the order of all children in node is maintained or it is a set sort collection which may differ in each run.


Hi,


Thanks for your inquiry. Yes. The order of child nodes in returned NodeCollection is maintained as they appear in document tree.

Best regards,