ECMAScript for XML

Also check this out too.

What I like this about is that it can access and modify xml elements, attributes, and nodes directly just like FlashVar class does.

Anyways, it’s Standard ECMA-357 and its specification is at the link

But isn’t this re-inventing another wheel? We already have xpath which does very similar things that they suggested. And also xpath has come close to version 2.0 and it’s considered and called *standard*. Why ECMA Internation organization accepts standard xpath and implement it into ecma scripting language for the sake of standard??

Or is xpath considered to be an core part of ECMA-357 and is it just a way to change how we write and use XML in ECMAScript language?

Comment are closed.