No. I don't think this is right. You just need to create SPObject
types for the metadata elements, and in them you need to create _write
methods that check the flags and create new reprs for the plain svg
copy of the tree. In short, just track how a regular element like
svg:path is not lost in plain svg, and reproduce the same pipeline for
the metadata ones.
No. I don't think this is right. You just need to create SPObject
types for the metadata elements, and in them you need to create _write
methods that check the flags and create new reprs for the plain svg
copy of the tree. In short, just track how a regular element like
svg:path is not lost in plain svg, and reproduce the same pipeline for
the metadata ones.