Module processors.xml.formula
Formula processor
Classes
class FormulaProcessor (reader, writer, doc_id)
-
A class to extract formulas from a standards document.
Ancestors
- Processor
- abc.ABC
Class variables
var fieldnames
-
Column names.
Name Description Element doc_id Document id uuid Formula id section_id Section this element belongs to formula MathML <mml:math> label Label of this formula
Methods
def converter(self, data)
-
Parse XML and extract formulas.
Args
data
:str
- XML document
Returns
list
- A list with dictionaries.
Inherited members