Implement to_n in Opal xml_node and xml_node_set.