<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _iterateToFindSCPDElements(self, element, baseURIPath):
 """Internal method to iterate through device definition XML tree. :param element: the XML root node of the device definitions :type element: xml.etree.ElementTree.Element :param str baseURIPath: the base URL """

        for child in element.getchildren():
            tagName = child.tag.lower()
            if tagName.endswith('servicelist'):
                self._processServiceList(child,baseURIPath)

            elif tagName.endswith('devicetype'):
                if "deviceType" not in self.__deviceInformations.keys():
                    self.__deviceInformations["deviceType"] = child.text
            elif tagName.endswith('friendlyname'):
                if "friendlyName" not in self.__deviceInformations.keys():
                    self.__deviceInformations["friendlyName"] = child.text
            elif tagName.endswith('manufacturer'):
                if "manufacturer" not in self.__deviceInformations.keys():
                    self.__deviceInformations["manufacturer"] = child.text
            elif tagName.endswith('manufacturerurl'):
                if "manufacturerURL" not in self.__deviceInformations.keys():
                    self.__deviceInformations["manufacturerURL"] = child.text
            elif tagName.endswith('modeldescription'):
                if "modelDescription" not in self.__deviceInformations.keys():
                    self.__deviceInformations["modelDescription"] = child.text
            elif tagName.endswith('modelname'):
                if "modelName" not in self.__deviceInformations.keys():
                    self.__deviceInformations["modelName"] = child.text
            elif tagName.endswith('modelurl'):
                if "modelURL" not in self.__deviceInformations.keys():
                    self.__deviceInformations["modelURL"] = child.text
            elif tagName.endswith('modelnumber'):
                if "modelNumber" not in self.__deviceInformations.keys():
                    self.__deviceInformations["modelNumber"] = child.text
            elif tagName.endswith('serialnumber'):
                if "serialNumber" not in self.__deviceInformations.keys():
                    self.__deviceInformations["serialNumber"] = child.text
            elif tagName.endswith('presentationurl'):
                if "presentationURL" not in self.__deviceInformations.keys():
                    self.__deviceInformations["presentationURL"] = child.text
            elif tagName.endswith('udn'):
                if "UDN" not in self.__deviceInformations.keys():
                    self.__deviceInformations["UDN"] = child.text
            elif tagName.endswith('upc'):
                if "UPC" not in self.__deviceInformations.keys():
                    self.__deviceInformations["UPC"] = child.text
            elif tagName.endswith('iconlist') or tagName.endswith('specversion'):
                # skip these items
                pass
            else:
                if not tagName.endswith('device') and not tagName.endswith('devicelist'):
                    self.__deviceUnknownKeys[child.tag] = child.text

                self._iterateToFindSCPDElements(child, baseURIPath)