On Sep 5, 2008, at 10:15 AM, Carlos Montagut wrote: > > Hi everyone, > > Could you someone enlightme about the best way to exchange XML with a > JavaScript function writen in Rhino back and fordward? > > I have been looking in the documentation, see some clues about > changing the E4X implmentation to AXIOM, but not much detail. > > What I need to do is: > > - Set an already parsed XML in the scope. > - Get a E4X XML from the scope
It does not work that way. You would need to serialize out your axiom document to a form that can be used by E4X. Why not just use the axiom document in rhino? best, -Rob > > > In the Java side I'm working with AXIOM, since I will send that using > Axis. > My idea was to use Rhino JavaScript to modify the WS payload before > sending it. > > I already succed passing just a string and reparsing, but performance > will be bettter if I could exchange back and ford an already parsed > XML. > > Any suggestion or idea will be more than wellcome. > > Thanks ! > > Carlos > _______________________________________________ > dev-tech-js-engine-rhino mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
