Inkscape.org
Beyond the Basics [XML Editor] inexistent namespace prefixes
  1. #1
    BoozeOperator BoozeOperator @BoozeOperator

    Good morning

    To facilitate styling with a centralized style sheet, I have removed all svg: and xlink: prefixes from a file (</svg: inclusive, do not worry). In addition, all stroke:none and stroke-with:0 attributes are removed to allow setting them in the CSS-file.

    This works rather well in Vim/GVim.

    But when I open the resulting file in Inkscape, the Inkscape-internal XML-editor still shows those namespace-designators.

    I would not care. But, when overwriting the file from Inkscape (save as...) and confirming the action, I was afraid, that my changes would be reverted by Inkscape. But no. 

    Even modifying the file in Inkscape, does not bring back the Namespace-designators. Then, why are they displayed in the XML-Editor ?

    Understand that I am content with this behavior as it spares me repeated interventions on the XML-code. 

Inkscape Inkscape.org Inkscape Forum Beyond the Basics [XML Editor] inexistent namespace prefixes