Protocol::Yadis::Document - Protocol::Yadis document object
my $d = Protocol::Yadis::Document->parse(<<EOD); <?xml version="1.0" encoding="UTF-8"?> <xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)"> <XRD> <Service> <Type> http://lid.netmesh.org/sso/2.0 </Type> </Service> <Service> <Type> http://lid.netmesh.org/sso/1.0 </Type> </Service> </XRD> </xrds:XRDS> my $services = $d->services;
This is a document object for Protocol::Yadis.
new
Creates a new Protocol::Yadis::Document instance.
services
Returns discovered Yadis services.
parse
Parses XML document.
to_string
String representation.
Viacheslav Tykhanovskyi, vti@cpan.org.
vti@cpan.org
Copyright (C) 2009, Viacheslav Tykhanovskyi.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.
To install Protocol::Yadis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::Yadis
CPAN shell
perl -MCPAN -e shell install Protocol::Yadis
For more information on module installation, please visit the detailed CPAN module installation guide.