Scraping all values from first block of xml file

Hi!

I need your help.

I would like to extract all Values from the first block of a xml file.

The structur is (normally) like this:

<response version="3">
<totalresults>78</totalresults>
<results>
<result>
<jobkey>xxx</jobkey>
<jobtitle>xxx</jobtitle>
<company>xxx</company>
<city>xxx</city>
<state>xxx</state>
<country>xxx</country>
<formattedLocation>xxx</formattedLocation>
<source>xxx</source>
<date>xxx</date>
<description>xxx</description>
<category>xxx</category>
<url>xxx</url>
<onmousedown>this.href=this.href+'&jsa=3f94b';</onmousedown>
<logo>xxx</logo>
<bid>xxx</bid>
<currency>xxx</currency>
</result>
... from here Block 2 and so on

</results>
</response>

In some cases the xml file look like this:

<response version="3">
<totalresults>0</totalresults>
<results/>
</response>

In this case I need an Entry like 0 or something in the Result List.

Please provide me with an importcode.

Many thanks