cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: XML support in Rhino 1.6
Date Wed, 10 Nov 2004 12:55:50 GMT
Daniel Fagerstrom wrote:

> I took a look at the Rhino download page 
> http://www.mozilla.org/rhino/download.html and found to my suprise 
> that Rhino 1.6R1 (the version that we use in the trunk) includes 
> ECMAScript for XML (E4X). That makes XML a native data type in JS and 
> let you do XPath like things within the JS syntax, see 
> http://lxr.mozilla.org/mozilla/source/js/rhino/examples/E4X/e4x_example.js 
> for examples.
>
> Quite cool IMO!


I would say more: that kicks ass big time! The soap example is 
particularily impressive.

Also, this could easily be turned into an "E4XGenerator" as yet another 
templating language.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message