biopython v1.71.0 Bio.SeqIO.SeqXmlIO.XMLRecordIterator
Base class for building iterators for record style XML formats.
It is assumed that all information for one record can be found within a record element or above. Two types of methods are called when the start tag of an element is reached. To receive only the attributes of an element before its end tag is reached implement _attr_TAGNAME. To get an element and its children as a DOM tree implement _elem_TAGNAME. Everything that is part of the DOM tree will not trigger any further method calls.
Link to this section Summary
Functions
Creating the object and initializing the XML parser
Iterate over the records in the XML file
Return the attributes of a DOM node as dictionary
Link to this section Functions
Creating the object and initializing the XML parser.
Iterate over the records in the XML file.
Return the attributes of a DOM node as dictionary.