Hi,

The JavaScript execution in Synapse is performed via Rhino which has the built in support for E4X. The Rhino implementation, however, does not support direct mapping between Axiom elements and E4X objects. If such mapping is enabled then we will be able to achieve better performance and ease of use regarding XML manipulation within JavaScript.

We use a modified version of Rhino here at WSO2, which provides the Axiom support discussed above. A user can directly pass an Axiom object from Java code to JavaScript and the particular Rhino version will transform it to an E4X object when handing over to the JavaScript.

I think we can use the particular implementation with Synapse to achieve the aforesaid advantages. Your comments on this matter is highly appreciated.

Regards,

Saliya

--
http://esaliya.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to