Hi,

I have a question about the ordering of elements in the XercesDOMParser.

In what order are the elements retrieved with DOMNode::getChildNodes() ?
Are they in the same order as they appeared in the XML document or can they also appear in some different order?

So, if I have the following XML

<rule id="first">...</rule>
<rule id="middle">...</rule>
<rule id="last">...</rule>

will the first element in the DOMNodeList returned by getChildNodes() contain the rule with id first etc ?
I like to know for sure because I could not find any documentation on it.

Thanks,

Ralph.

Reply via email to