def enemysightingstodict(xmlfile):

	PATROLREPORT_NS = '{http://helyx.co.uk/infopath/2003/myXSD/2010-06-09}'

	tree = ElementTree.parse(xmlfile)

	for node in tree.findall(PATROLREPORT_NS + 'Observations/' + PATROLREPORT_NS + 'EnemySightings'):
		d = {}
		''' get each of the nodes '''
		datetimesighted = node.find(PATROLREPORT_NS + 'DateTimeSighted').text
		strength = node.find(PATROLREPORT_NS + 'Strength').text
		activityattitude = node.find(PATROLREPORT_NS + 'ActivityAttitude').text
		weaponsequipment = node.find(PATROLREPORT_NS + 'WeaponsEquipment').text
		disposition = node.find(PATROLREPORT_NS + 'Disposition').text
		intention = node.find(PATROLREPORT_NS + 'Intention').text
		additionalobservations = node.find(PATROLREPORT_NS + 'AdditionalObservations').text

		yield datetimesighted, strength, activityattitude, weaponsequipment, \
			  disposition, intention, additionalobservations
Given a dictionary-like structure is provided, a fresh related
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/data_management/toolboxes/scripts/ImportEnemySightingsXML.py/enemysightingstodict--crossover with--dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tastypie__/fields.py/RelatedField.resource_from_data