Module processors.xml.figure
Figure processor
Classes
class FigureProcessor (reader, writer, doc_id)
-
A class to extract figures from a standards document.
Ancestors
- Processor
- abc.ABC
Class variables
var fieldnames
-
Column names.
Name Description Element doc_id Document id uuid Figure id section_id Section this element belongs to figure The figure <fig> fig_id Element identifier label Element label title Element title
Methods
def converter(self, data)
-
Parse XML and extract titles.
Args
data
:str
- XML document
Returns
list
- A list with dictionaries.
Inherited members