using it that way right now:
#gets name of first four top artists.
params = {"API_KEY": API_KEY, "items":"1", "limit": "4"}
doc = pylast._Request(network,'chart.getTopArtists',
params).execute()
chart_top_artists=[]
for node in doc.getElementsByTagName("artist"):
chart_top_artists.append(node.childNodes[01].firstChild.data)