Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When using

$ xmllint --c14n one.xml > 1.xml
$ xmllint --c14n two.xml > 2.xml
$ diff 1.xml 2.xml

Would it matter if the order of the sibling nodes were different? I.e. are these the same? (same two nodes just different order)

<node1 att1='one'></node1>
<node2 att1='one'></node2>

diff with

<node2 att1='one'></node2>
<node1 att1='one'></node1>

I'm thinking yes this would be different.

share|improve this question

closed as not a real question by TFM, Canadian Luke, ChrisF, CharlieRB, BBlake Nov 15 '12 at 14:46

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

Browse other questions tagged or ask your own question.