
XRI::Resolution::Lite - The LightWeight client module for XRI Resolution

version 0.01

use XML::LibXML::XPathContext;
use XRI::Resolution::Lite;
my $r = XRI::Resolution::Lite->new;
my $xrds = $r->resolve('=zigorou'); ### XML::LibXML::Document
my $ctx = XML::LibXML::XPathContext->new($xrds);
my @services = $ctx->findnodes('//Service');

This param must be HASH reference. Available 2 fields.
(Optional) LWP::UserAgent object or its inheritance.
(Optional) URI string of XRI Proxy Resolver. If this param is omitted, using XRI Global Proxy Resolver, "http://xri.net/", as resover.
If a resolution is succeed, return <XML::LibXML::Document> object. if not succeed then return undef.
Query XRI string. For example :
=zigorou @perlmongers
This param must be HASH reference. Available 3 fields.

There are XRI Resolution spec in OASIS.

Toru Yamaguchi, <zigorou@cpan.org>

Please report any bugs or feature requests to bug-xri-resolution-lite@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Copyright 2008 Toru Yamaguchi, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.