Erik Meijer Shows Us His Favorite Visual Basic 9.0 Feature - XML Literals

Play Erik Meijer Shows Us His Favorite Visual Basic 9.0 Feature - XML Literals
Sign in to queue


In this in interview Erik Meijer, an Architect on the Data Programmability team, shows us how LINQ to XML works in the next version of Visual Basic, 9.0. He talks about some of the history behind the features as well as how XML literals, unique to Visual Basic, are implemented. He takes us on an adventure on how to efficiently work with XML using XML Intellisense and an Office Open XML Excel document, pointing out a lot of tid-bits of information along the way that only Erik could show us. 

0:00 – 5:30

Intro / History


Demo Starts


Importing XML Schema and Namespaces


XML Intellisense and Type Inference


Constructing the LINQ  to XML query


Working with XML Literals and Embedded Expressions





Right click to download this episode

The Discussion

  • User profile image

    Both awesome and timely - there I was struggling with namespaces in xml for the last few days - just happened on this screencast and there was the solution !!

    Please give us more of this this type of webcast ..

    VB9 is MAGIC - thanks to VB HEAD in the BOX and his colleagues ...

  • User profile image
    This is a good presentation on LinQ/Expressions. Its nice to see how xml queries are simplified.

    It would be more helpful if the exmaple is with some realistic data. Also, discussion on XSLT complexity and its unfriendliness to developers is understandable but how can we display xml if there are no office clients and how simple is it to build such an xml with all the style elements and spreadsheet format info?
    Also the XSD didn't make much sense to me.

    Anyway, the expressions are quite a good/new concept. Yet to figure how really simple they are in the real world!
  • User profile image
    Excellent screencast.

    Using the concepts you guys demoed, I was able to create a REST interface for ASP.NET that uses XElement

    Source code & samples are available at

  • User profile image
    It is great Demo Beth. Thanks Prof.Meijer

Add Your 2 Cents