Dear members
I have a generated Svg which when I edit it I loss it's functionality because inkscape remove from my file when the svg is it opened
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg> <?xml-stylesheet href="mystyle.css" type="text/css"?> <?AdobeSVGViewer save="snapshot"?> <svg version="1.1" width="21cm" height="29.7cm" viewBox="0 0 744 1052" id="SVGTest" onload="fixreferences();" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"> <script type="text/javascript"> ... and all onmouseout="parent.on_mouse_out('1');" or onmouseout or onmouseclick events ... in the group elements...
<g id="grp_ref_1" onmouseover="parent.on_mouse_over('1');" onmouseout="parent.on_mouse_out('1');" onclick="parent.on_mouse_click('1');"><rect x="40" y="40" width="40" height="40" fill="#FFCC00" fill-opacity="0.4" text-anchor="middle"/><text x="60" y="68" fill="#000000" fill-opacity="1" text-anchor="middle" font-size="20px" font-family="Arial" startOffset="0">1</text></g> ....
HOW TO AVOID THESE MODIFICATION PLEASE ?
With kind regards Petronel