Subj : Connecting E4X with DOM document object? To : netscape.public.mozilla.jseng From : Kresimir Cunko Date : Thu Sep 15 2005 11:27 am Can anyone give me a hint how to connect E4X functionality of SpiderMonkey (C++) with DOM document object? I have to make following evaluation working: var x= sometext Eval: x.documentElement.getElementsByTagName("element2").item(0).data Currently I have downloaded SpiderMonkey from Mozilla with support for E4X (which made 1. line of my example to work), but there is no interface for DOM document object. I can see that this is supported by Mozilla, but I must do it inside my SpiderMonkey wrapper. .