Expand description
Multi-level disassembly: strip a root element and re-disassemble with different unique-id elements.
Functions§
- capture_
xmlns_ from_ root - Capture xmlns from the root element (e.g. LoyaltyProgramSetup) for later wrap.
- ensure_
segment_ files_ structure - Ensure all XML files in a segment directory have structure: document_root (with xmlns) > inner_wrapper (no xmlns) > content. Used after inner-level reassembly for multi-level (e.g. LoyaltyProgramSetup > programProcesses).
- load_
multi_ level_ config - Load multi-level config from a directory (reads .multi_level.json).
- path_
segment_ from_ file_ pattern - Derive path_segment from file_pattern (e.g. “programProcesses-meta” -> “programProcesses”).
- save_
multi_ level_ config - Persist multi-level config to a directory.
- strip_
root_ and_ build_ xml - Strip the given element and build a new XML string.