I need to get attributes from an XML root node using PHP. I need to get the number from total, start and count from the <result>
root node below and assign them as variable in PHP.
Ex. $total, $start, $count
<result total="26" start="0" count="10">
<job>
<title>
<![CDATA[ Rep-Retail Sales, Orange County ]]>
</title>
<date>2014-07-12T00:56:17Z</date>
<onclick>j2c_view(1451827617,2834554843,611926905)</onclick>
<company>
<![CDATA[ Verizon Wireless ]]>
</company>
<city>Laguna Niguel, CA</city>
<description>