It's perfect, thanks.
Another thing... I have this xml
<?xml version="1.0" ?>
<meta_data config_type="private" lastfeed_high="0" />
I want to get "config_type" value, so...
$configtype=_xmlgetattrib("/meta_data", "config_type")
msgbox(0,"","Config? " & $configtype)
But always return "-1"