print_r is definately helpful ... thanks for that tip.
i knew i could use node numbers, such as specifying
$var1 = $xml->icons->icon_set->icon_url
but was just curious if it was possible, and if so how, to get the url assigned to $var1 based on the "name=" within icon_set
just in case the list order was ever changed, my script would continue to pull the correct url based on the set name and not whatever happens to be sitting in the icon_set node.
i dont suspect the list would ever change order, was just thinking ahead
haven't looked into xpath yet ... but will give it a read.