Needed to adde "out" parameter to xml_traverse calls.