OPFItemref¶
An OPF <itemref> element, that is, a child of the <spine>.
-
class
yael.opfitemref.
OPFItemref
(internal_path=None, obj=None, string=None)[source]¶ Build an OPF <itemref> element or parse it from obj or string.
-
has_property
(v_property)[source]¶ Return True if this itemref has the given property.
Parameters: v_property (str) – a property name Returns: True if the itemref has the property Return type: bool
-
v_id
¶ The value of the id attribute.
Return type: str
-
v_idref
¶ The value of the idref attribute.
Return type: str
-
v_linear
¶ The value of the linear attribute.
Return type: str
-
v_properties
¶ The value of the properties attribute.
Return type: str
-