use Test; BEGIN { plan tests => 5 } use XML::XPath; #$XML::XPath::Debug = 1; #$XML::XPath::SafeMode = 1; my $xp = XML::XPath->new(ioref => *DATA); ok($xp); my $nodeset = $xp->find('/rdf:RDF/channel//@rdf:*'); ok($nodeset); ok($nodeset->size); ok(4); ok(5); __DATA__ Meerkat http://meerkat.oreillynet.com Meerkat: An Open Wire Service Meerkat Powered! http://meerkat.oreillynet.com/icons/meerkat-powered.jpg http://meerkat.oreillynet.com XML: A Disruptive Technology http://c.moreover.com/click/here.pl?r123 XML is placing increasingly heavy loads on the existing technical infrastructure of the Internet. Search XML.com Search XML.com's XML collection s http://search.xml.com