XML/OWL processing utilities
- pybiopax.xml_util.get_id_or_about(element)[source]
Return the ID or the about associated with an element
- pybiopax.xml_util.get_resource(attrib)[source]
Return the resource associated with an element attribute.
- pybiopax.xml_util.has_ns(element, ns)[source]
Return True if the element is from a given name space.
- pybiopax.xml_util.is_datatype(attrib, prefix, datatype)[source]
Return True of the given attribute is of a given type.
- pybiopax.xml_util.nselem(ns, elem)[source]
Return a full namespaced string with curly brackets with a suffix.