E4X: We Could Use This In the C# World
You Learn Something New Every Day Department: Saw this interesting example (via Software Development with Scott) of ECMAScript for XML, or E4X for short. It’s an extension to JavaScript that strikes me at least as the most intuitive way I’ve yet seen to manipulate XML in code. I’ll admit I haven’t yet explored how LINQ will handle this … I’m now motivated to do so, for comparison purposes.
2 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
E4X is awesome! Actionscript 3.0 implements E4X and creating Flex 2 applications that manipulate XML is so much easier using this syntax. I too would love to see something like this in C#. I also have not looked at LINQ yet.
Comment by Marcus Mattingly — August 29, 2007 @ 8:38 am
Not C#, but VB9 is very close.
Comment by Chris Ortman — September 10, 2007 @ 8:25 am