Add static transformation for DNPM forms to use UKW variant

This commit is contained in:
2023-06-01 20:01:04 +02:00
parent 193b01dc92
commit c43f12c95f
5 changed files with 48 additions and 3 deletions

View File

@@ -58,7 +58,9 @@ fn main() {
let contents = fs::read_to_string(cli.input)
.expect("Should have been able to read the file");
let xml: OnkostarEditor = from_str(contents.as_str()).unwrap();
let mut xml: OnkostarEditor = from_str(contents.as_str()).unwrap();
xml.apply_variant();
let mut buf = String::new();