Subj : Re: mozilla XMLDocument in SpiderMonkey
To : netscape.public.mozilla.jseng
From : Martin Honnen
Date : Fri Sep 02 2005 03:59 pm
troelskn wrote:
> 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.
You have to understand that Firefox does usually not simply implement
extensions to JavaScript. Instead Firefox is built of XPCOM components,
some of which are scriptable by the use of XPConnect. Thus if you wanted
to use such components then you need to learn how to write XPCOM
applications. See
The xpcshell is a simple shell like the Spidermonkey shell but
additionally allowing the use of scriptable XPCOM components.
--
Martin Honnen
http://JavaScript.FAQTs.com/
.