/** * Normalizer: walks the parsed XML tree, accumulates the transform stack and a * (pragmatic) style cascade, expands every drawable element into transformed * subpaths, and emits the flat SvgScene the OCCT builder consumes. * * Scope of the style cascade: presentation attributes + inline `style="..."` * inherited down the tree. Full external/embedded CSS stylesheet selectors are * intentionally out of scope (rare in machine-generated SVG); when a