readXml#

pyCGM2.Utils.files.readXml(DATA_PATH: str, filename: str)#

Read an XML file and parse its contents.

Parameters:
  • DATA_PATH (str) – The path where the XML file is located.

  • filename (str) – The name of the XML file to read.

Returns:

BeautifulSoup object – Parsed content of the XML file.