How to make a function repeat itself
<p>I have a python problem, I'm reading from XML and have two spread functions set up; one finds a location, than the other function finds a location inside the first one, and returns info. my problem is that i need this to continue down the page and find other occurrences of each. I'm not sure if thats a good explanation of now so heres code:</p>

<pre><code>def findEntryTag(webPage):
 start= webPage.find("&lt;entry&gt;") +7
 end= webPage.find("&lt;/entry&gt;")
 slicedString=webPage[start:end]
 return slicedString

def findEarthquake(webPage):
 slicedString=findEntryTag(webPage)
 start= slicedString.find("&lt;title&gt;") +7
 end= slicedString.find("&lt;/title&gt;")
 eq= slicedString[start:end]
 return eq

my Earthquake= findEarthquake(text)
print (myEarthquake)
</code></pre>

<p>so need it to do the functions again to get another earthquake and print out the hole list of them. please help! thanks</p>
