Saving svg
Hello Michel,
No i am not working with asv6 yet. I have tried to do what you told to, but i have difficulties to succeed.Here's my code:
Dess = svgdoc.getElementById("Dessiner");
if(data.success)
{
var Long=data.content.length;
message=data.content.substring(4,Long-4);
//message=data.content.getChildNodes;alert(message);
new_node =parseXML(data.content, document);
Dess.appendChild(new_node);
}
messge is the data.content without the <g> and </g>. That is what i would like , but if i put it instead of data.content; only my first group will appear.
Do you have any idea?
Thanks in advance, s?bastien. |