changed order of parent and self attributes in xml