load('/home/preecej/Documents/projects/pathvisio/Ath_scratch.gpml'); $entry = $doc->getElementsByTagName("Pathway"); $author = $entry->item(0)->getAttribute("Author"); print "Author:$author\n"; print "test over\n"; ?>