Xml File#
MHI’s XML File
- class mhi.xml.file.File(parser: XMLParser)#
Base-class for various XML files
- set_modified()#
Flag the XML document as modified
- property path: Path | None#
The path of the XML document (read-only)
Note
The path is None if it has not been read from an actual file.
- save()#
Write the updated XML document back to the file it was read from.
- property root#
Fetch root node of file