NAME
XRI::Descriptor - Utilities for XRI Descriptor XML doc management
SYNOPSIS
use XRI:Descriptor;
my $XRID = XRI->new($xml_descriptor);
$resolved = $XRID->getResolved;
$AuthRef = $XRID->getXRIAuthorityURIs;
@uris = $XRID->getLocalAccess($service, $type);
$mapRef = $XRID->getMappings;
ABSTRACT
Utilities for XRI Descriptor XML doc management
DESCRIPTION
This module provides utilities to pull element values from an XRI Descriptor XML file. Example XRI Descriptor XML file:
<?xml version="1.0" encoding="iso-8859-1"?>
<XRIDescriptor xmlns="xri:$r*s/XRIDescriptor">
<Resolved>*user</Resolved>
<XRIAuthority>
<URI>http://community.broker.com/</URI>
</XRIAuthority>
<LocalAccess>
<Service>xri:$r*a/XRIDB</Service>
<URI>http://broker.com/xridb</URI>
</LocalAccess>
<Mapping>xri:@*:1002*(:1000:1000)</Mapping>
</XRIDescriptor>
TODO
Change getLocalAccess to return an array reference
SEE ALSO
xri(3)
AUTHOR
Fen Labalme, <fen@idcommons.net>
COPYRIGHT AND LICENSE
Copyright 2004 Identity Commons
See LICENSE.