ElementTree interface to an XRD document.
|
|
|
|
|
|
|
|
|
isXRDS(xrd_tree)
Is this document an XRDS document? |
source code
|
|
|
getYadisXRD(xrd_tree)
Return the XRD element that should contain the Yadis services |
source code
|
|
datetime.datetime
|
getXRDExpiration(xrd_element,
default=None)
Return the expiration date of this XRD element, or None if no
expiration was specified. |
source code
|
|
unicode or None
|
|
|
|
|
|
|
prioSort(elements)
Sort a list of elements that have priority attributes |
source code
|
|
|
|
|
sortedURIs(service_element)
Given a Service element, return a list of the contents of all URI
tags in priority order. |
source code
|
|
|
getTypeURIs(service_element)
Given a Service element, return a list of the contents of all Type
tags |
source code
|
|
|
expandService(service_element)
Take a service element and expand it into an iterator of:
([type_uri], uri, service_element) |
source code
|
|
|
expandServices(service_elements)
Take a sorted iterator of service elements and expand it into a
sorted iterator of: ([type_uri], uri, service_element) |
source code
|
|
|
XRD_NS_2_0 = ' xri://$xrd*($v*2.0) '
|
|
XRDS_NS = ' xri://$xrds '
|
|
root_tag = ' {xri://$xrds}XRDS '
|
|
service_tag = ' {xri://$xrd*($v*2.0)}Service '
|
|
xrd_tag = ' {xri://$xrd*($v*2.0)}XRD '
|
|
type_tag = ' {xri://$xrd*($v*2.0)}Type '
|
|
uri_tag = ' {xri://$xrd*($v*2.0)}URI '
|
|
expires_tag = ' {xri://$xrd*($v*2.0)}Expires '
|
|
canonicalID_tag = ' {xri://$xrd*($v*2.0)}CanonicalID '
|
|
Max = <openid.yadis.etxrd._Max object>
|
|
__package__ = ' openid.yadis '
|