I meant does XML can do something with javascript codes if the page is depending on the javascript codes?
XML by itself can't do anything, it is used only to describe things.
The Xml Service engine, that uses my Xml Service format to guide its execution, can do many things but not directly interpret javascript code: you have to understand what the js does, and see if you can replicate the result using the xml.
The Xml Service standard can be extended if there is the need to, but..I don't want to add javascript processing, it would only mess up things big time..