Subj : Re: mozilla XMLDocument in SpiderMonkey To : netscape.public.mozilla.jseng From : franck Date : Fri Sep 02 2005 03:25 pm There is a built-in XML engine( E4X ) implemented in spidermonkey, to enable it, you have to call JS_SetOptions with JSOPTION_XML option. example: var doc = ; doc.@c = "new value"; for each (b in doc.b) { x = b.@c; } ... ECMAScript for XML (E4X) Specification : http://www.ecma-international.org/publications/standards/Ecma-357.htm Franck troelskn wrote: > Hi > > I have successfully compiled the SpiderMonkey engine and it's great > fun. In firefox, there are a number of extensions to javascript. Is > there a simple way to include some of theese in the SpiderMonkey build > ? I'm specifically after stuff like XMLDocument and XSLTProcessor. > I've managed to find a few implementations of xmlparsers (whitebeam, > wxJS), but I'd really prefer to get the things from firefox working. > Any ideas ? > .