Visual Studio Team Interviews

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

Download this episode

Download Video

Description

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

5:30

Demo Starts

8:23

Importing XML Schema and Namespaces

11:50

XML Intellisense and Type Inference

15:10

Constructing the LINQ  to XML query

17:40

Working with XML Literals and Embedded Expressions

Tags:

LINQ, VB Team, VB.NET, XML

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • MDLohan

      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 ...

    • sagar_v2005
      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!
    • joshnuss
      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 http://www.codeplex.com/RESTToolkit

    • VBCoder
      It is great Demo Beth. Thanks Prof.Meijer

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.