Schema2XML

class Schema2XML[source]

Methods

hed.schema.schema_io.schema2xml.Schema2XML.__init__()

hed.schema.schema_io.schema2xml.Schema2XML.process_schema(...)

Takes a HedSchema object and returns a list of strings representing its .mediawiki version.

Attributes

Schema2XML.__init__()[source]
classmethod Schema2XML.process_schema(hed_schema, save_merged=False)

Takes a HedSchema object and returns a list of strings representing its .mediawiki version.

Parameters:
  • hed_schema (HedSchema) –

  • save_merged (bool) – If True, this will save the schema as a merged schema if it is a “withStandard” schema. If it is not a “withStandard” schema, this setting has no effect.

Returns:

converted_output – Varies based on inherited class

Return type:

Any