Module processors.xml.title

Title processor

Classes

class TitleProcessor (reader, writer, doc_id)

A class to extract the titles of a standard.

Ancestors

Class variables

var fieldnames

Column names.

Name Description Element Attribute
doc_id Document id
lang Language <title-wrap> xml:lang
intro Introductory title element <intro>
main Main title element <main>
compl Complementary title elemnent <compl>
full Full title <full>

Methods

def converter(self, data)

Parse XML and extract titles.

Args

data : str
XML document

Returns

list
A list with dictionaries.

Inherited members