mal2html.svg.mode
This mode is used for processing SVG embedded into Mallard documents. For most types of SVG content, it simply copies the input directly, except it outputs the SVG in a way that allows the namespace to stripped for non-XML output. It checks for Mallard linking using the mal:xref attribute and transforms this to an XLink xlink:href attribute.