Use DOMParser. See 
http://msdn.microsoft.com/en-gb/library/ie/ff975060%28v=vs.85%29.aspx for 
details.

Best regards

Robert.

--- In [email protected], "deimos1975"  wrote:
>
> Sorry newbie.
> Here is the file with the code: file
>
  P89zuSWSiRz2XLD-GDOAY55zUbNE-pjXiDVBVjnmkOhYKymIEeQvIF/stringTosvg>
> 
> 
> --- In [email protected], "deimos1975"  wrote:
> >
> > Hi! My Javascript function receives a String as a parameter. This
> String is a svg tag with several nodes as children. I want to parse it
> into a SVG and add it as a nodechildren to my SVG file is:
> >
> >
> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd";>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Where strSVG=" Title "
> >
> > But this returns a HIERARCHY_REQUEST_ERR (3) On:
> SVGDocument.getElementById('grafico1').appendChild(newNode);
> >
> > I think the proble is to parse String to a valid SVG node....
> > This is on IE9.
> > Thank you!
> >
> 
> 
> 
> [Non-text portions of this message have been removed]
>




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to