Hi,
I try, but I get Object expected error when I use printNode(svgDocument). Steve --- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]> wrote: > Hi Steve > i would suggest sending a string not a document Object, so > XHR.send(printNode(svgDocument)); > should do the trick. > besides, please don t use getters and setters, > (old non standard syntax, dont write this: > evt.getTarget().getOwnerDocument()) > this is correct: svgDocument = evt.target.ownerDocument; > > hth > Holger > > > > > function svgInitialize(evt) { > > svgDocument = evt.target.ownerDocument; > > } > > > > > > function SendTest() { > > var XHR = new ActiveXObject("Msxml2.XMLHTTP"); > > XHR.open("POST", "default.aspx",false); > > XHR.send(printNode(svgDocument)); > > } ----- 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/