(xml_string)
| 11 | import MaterialX as mx |
| 12 | |
| 13 | def is_well_formed(xml_string): |
| 14 | error = '' |
| 15 | try: |
| 16 | ET.fromstring(xml_string) |
| 17 | except ET.ParseError as e: |
| 18 | error = str(e) |
| 19 | |
| 20 | def main(): |
| 21 | parser = argparse.ArgumentParser(description="Reformat a folder of MaterialX documents in place.") |