Chapter 9, recipe 2: ignore order of elements in XML document