- or download this
use XML::LibXML ;
use strict;
...
my $result = $doc->findvalue('//lastName');
print $result ;
}
- or download this
use XML::LibXML;
use XML::LibXML::XPathContext;
...
my $result = $xc->findvalue('//sdnList:lastName');
is( $result, "Hello world!", "Namespace" );
}
- or download this
<rsp stat="ok">
<sizes canblog="1" canprint="0" candownload="0">
...
<size label="Large" width="1024" height="683" source="http://farm5.sta
+tic.flickr.com/4007/4673769513_02826f0775_b.jpg" url="http://www.flic
+kr.com/photos/dhushor-jen/4673769513/sizes/l/" media="photo"/>
</sizes>
</rsp>
- or download this
<rsp stat="fail">
<err code="1" msg="Photo not found"/>
</rsp>