about DOM and JS engine

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

about DOM and JS engine

xiaoguang he
my dear friends,

i want to parser a input html file (with some JS codes in it) to a DOM of gecko,
and then operate the DOM with the JS codes,
finally output the result html file from the DOM.

i am a green hand with gecko,
i will be very grateful for your advise or example codes,
thanks in advance!

--
Best Regards,

                       HE XiaoGuang

�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T
Biometrics Research Group,
Key Laboratory of Complex Systems and Intelligence Science,
Institute of Automation, Chinese Academy of Sciences,
P.O.Box 2728, Beijing 100080, China
Phone: +86-10-82628465
Email: [hidden email]
�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T

_______________________________________________
dev-tech-dom mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-dom
Reply | Threaded
Open this post in threaded view
|

Re: about DOM and JS engine

Eli Friedman
HE XiaoGuang wrote:

> my dear friends,
>
> i want to parser a input html file (with some JS codes in it) to a DOM
> of gecko,
> and then operate the DOM with the JS codes,
> finally output the result html file from the DOM.
>
> i am a green hand with gecko,
> i will be very grateful for your advise or example codes,
> thanks in advance!
>
I'm not exactly sure what you're trying to do, but something like that
shouldn't be too hard using XULRunner.  Try looking at the docs on
developer.mozilla.org.

-Eli

_______________________________________________
dev-tech-dom mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-dom