Hello developers!
Thanks for Jérôme and Heiko! Works! I was studing XForm, RCC and I thought this is the way to send informations of SVG to xml form page, or another form. Do you have any simple example? I´ll use this SVG document: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"> <script xlink:href="Node_Builder.js"/> <script> <![CDATA[ function init(e) { svgDoc = e.target.ownerDocument; } function criarCirc(evt) { var svgDoc = evt.getTarget.ownerDocument; var svgRoot = svgDoc.rootElement; circle = new Node_Builder("circle",{ cx:150, cy:167, r:20,style:"fill: blue" },''); circle.appendTo(svgRoot); } function criarRect(evt) { var svgDoc = evt.getTarget.ownerDocument; var svgRoot = svgDoc.rootElement; rect = new Node_Builder("rect",{ x:300, y:150, width:40, height:35,style:"fill: green" },''); rect.appendTo(svgRoot); } function criarEllipse(evt) { var svgDoc = evt.getTarget.ownerDocument; var svgRoot = svgDoc.rootElement; ellipse = new Node_Builder("ellipse",{ cx:500, cy:167, rx:40, ry:20,style:"fill: red" },''); ellipse.appendTo(svgRoot); } ]]> </script> <circle cx="150" cy="40" r="1.5em" style="fill:blue" onclick="criarCirc(evt)"/> <rect x="300" y="25" width="40" height="40" style="fill:green" onclick="criarRect(evt)"/> <ellipse cx="500" cy="40" rx="3em" ry="1.5em" style="fill:red" onclick="criarEllipse(evt)"/> </svg> ... and Node_Builder.js of Kevin Lindev. Thanks again. ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/ <*> 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/