Getting links from xml

i have an xml file and some of the items have links and some dont.

is there a way in flash to say if that xml node is empty then to do nothing but if it has a link in it then to open that window?

i tried using:

target_mc.onRelease = function (){
if (reports[k] = !null) {
getURL(reports[k]. “_blank”);}

but not too sure what i’m doing…

if (reports[k] != null || reports[k] != undefined || reports[k] != " "){

i’ve used all of these at some time or another, so at least one should work depending on your XML setup…