Added code to set available nodes for children with multiple xmlelement attributes