don't know about the DOMParser thing, but did you already take a look
at the built-in E4X objects ? (I think they require SpiderMonkey
version 1.6+)
Cheers, Christoph
> Can the Spidermonkey Javascript Engine (used as embedded in application) use
> the DOMParser extension of Mozilla
> (http://developer.mozilla.org/en/docs/XML_Extras) to parse XML content
> present as Javascript strings? If yes, is there any guideline/documentation
> on how to achieve this?
In general no, as DOMParser is not part of the script engine at all but
part of the Mozilla browser which makes it available to script in the
browser using XPConnect.
--
Martin Honnen
http://JavaScript.FAQTs.com/
Thanks Christoph. Yes, I had a brief read of the E4X documentation
(http://developer.mozilla.org/en/docs/E4X), but still need to do a deep look
at it.
But I could not find where I can get the SpiderMonkey version 1.6+
Could you please guide me to some links?
Thanks
Rajesh
Hi,
Cheers, Christoph
_______________________________________________
dev-tech-js-engine mailing list
dev-tech-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine
I suggest you checkout the SpiderMonkey branch from the Mozilla CVS and
build it yourself. I would recommend to use a release branch, for
example FIREFOX_1_5_0_4_RELEASE.
Cheers