Files
Dmitry 98c27fec85 Bulk rename/move files to '8' directories
Perform a bulk rename/move of many files and folders: paths previously prefixed with '01', '02', '03', '04', etc. were relocated to equivalent paths prefixed with '8'. Changes are path-only (R100 renames) and do not modify file contents; this reorganizes the repository structure.
2026-06-09 22:25:32 +03:00

15 lines
336 B
Python

from lxml import etree
xml = etree.parse("specialities.xml")
xslt = etree.parse("specialities.xsl")
transform = etree.XSLT(xslt)
result = transform(xml)
with open("specialities.html", "wb") as f:
f.write(etree.tostring(result, pretty_print=True, encoding="UTF-8"))
print("HTML успешно создан: specialities.html")