- node['hardware_types'] = Element.get(node_elem, './default:hardwate_type | ./hardware_type', HardwareType)
- lolocation_elems = Element.get(node_elem, './default:location | ./location', Location)
- if len(location_elems) > 0:
- node['location'] = location_elems[0]
- node['interfaces'] = Element.get(node_elem, './default:interface | ./interface', Interface)