if( $soap_simple->fetch({
'method' => 'Search',
'xml' => $xml,
}) ){
my $xml_results = $soap_simple->results();
my $xml_obj = $soap_simple->results_xml();
my @titles =
$xml_obj->findnodes(".//*[local-name()='Title']/text()");
foreach my $title( @titles ){
print $title->nodeValue."?n";
}
}else{
print "Problem using service:" . $soap_simple->error();
}
実行すると検索結果のタイトルを出力します。
Microsoft Corporation
Fast Facts About Microsoft microsoft's timeline from 1975 - 1990 Microsoft Research Social Computing Symposium 2004
Jeff Sandquist - Microsoft Evangelist CRN | Breaking News | Microsoft Readying Windows Server 2003 R2 Beta Microsoft Corporation - Money,Politics,Campaign Contributions ...
About the Frontline Partnership
Real Software Slams Microsoft's Patent Effort
Joint Status Report on Microsoft's Compliance with the Final Judgments ...