from_xml sets a version on nodes