I'm trying to get my svg project working in FireFox.
1. Using libUrl.getURL(sFilePath, function(resp){code...} and var oSvgDocFrag = libXml.parseXML(resp.responseText); var oDocFrag = libXml.importNode(oSvgDocFrag.firstChild, true); from "JavaScript O Lait" library (great semi-OOP). resp.responseText is the same (and correct)in both IE+Adobe6 and FireFox 2. Here are the differences (because XMLHttpRequest() is used for mozilla): IE+Adobe6: oSvgDocFrag = [object Document] oDocFrag = [object SVGSVGElement] FireFox: oSvgDocFrag = [object XMLDocument] oDocFrag = [object Element] 3. the problem in FireFox (OK in IE) is: oNewParentNode.appendChild(oDocFrag); var oNodeTarget = oNewParentNode.lastChild; but oNodeTarget = undefined, so oNewParentNode.appendChild(oDocFrag) didn't work. 4. Questions: Do I have to change [object XMLDocument] to [object Document] and [object Element] to [object SVGSVGElement] to get it to work correctly in FireFox? Can someone point me in the right direction to get this solved? Thanks, Dave ----- 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/