Base Converter

Bas class of all converters.

class benker.converters.base_converter.BaseConverter

Bases: object

Bas class of all converters.

builder_cls

alias of benker.builders.base_builder.BaseBuilder

convert_file(src_xml, dst_xml, **options)

Convert the tables from one format to another.

Parameters
  • src_xml (str) – Source path of the XML file to convert.

  • dst_xml (str) – Destination path of the XML file to produce.

  • options

    Dictionary of parsing/building options.

    Common parsing options:

    encoding (default: “utf-8”):

    XML encoding of the destination file.

parser_cls

alias of benker.parsers.base_parser.BaseParser