xspf_lib.Link¶
- class xspf_lib.Link(rel: str, content: str = '')¶
Object representation of link element.
The link element allows XSPF to be extended without the use of XML namespaces.
- Parameters:
rel (URI) – URI of resource type.
content (URI) – URI of resource.
- __init__(rel: str, content: str = '') None¶
Methods
__init__(rel[, content])parse_from_xml_element(element)Parse
xml.etree.ElementTree.Elementto data modelto_xml_element()Convert data model to
xml.etree.ElementTree.ElementAttributes
contentURI of resource.
relURI of resource type.