Module processors.xml.string

String processor

Classes

class StringProcessor (reader, writer, doc_id)

A class to extract strings from a standards document.

Ancestors

Class variables

var fieldnames

Column names.

Name Description Element Attribute
doc_id Document id
uuid Element UUID
section_id Section this element belongs to
tag The XML tag
text Text part of the tag

Methods

def converter(self, data)

Parse XML and extract sections.

Args

data : str
XML document

Returns

list
A list with dictionaries.
def traverse_strings(self, node, strings=[])

Inherited members