rec_to_nwb.processing.header.xml_extractor¶
Module to extract XML from REC file, read it and validate
- Class:
XMLExtractor()
Module Contents¶
Classes¶
|
Class to extract XML file from REC file, read XML, validate XML with XSD file |
-
class
XMLExtractor(rec_path='../data/REC_sample.xml', xml_path='../data/output.xml', xsd_path=None)¶ Class to extract XML file from REC file, read XML, validate XML with XSD file
-
extract_xml_from_rec_file()¶
-
read_xml_from_rec_file()¶
-
read_xml_from_xml_file()¶
-
set_rec_path()¶
-
set_xml_path()¶
-
get_rec_path()¶
-
get_xml_path()¶
-
is_valid()¶
-
rec_path=¶
-
xml_path=¶
-
xsd_path=¶
-
extract_xml_from_rec_file(self)¶ Extract XML from REC file
-
read_xml_from_rec_file(self)¶ Read XML from REC file
-
read_xml_from_xml_file(self)¶ Read XML through logging.info
-
set_rec_path(self, rec_path)¶ Set path to REC file
-
set_xml_path(self, xml_path)¶ Set path to XML file
-
get_rec_path(self)¶ Get path to REC file
-
get_xml_path(self)¶ Get path to XML file
-
is_valid(self)¶ Check if XML is valid with XSD file
-