Showing results for XML - Visual Basic Blog

Jun 30, 2008
0
0

Article: Sharpening Your Axis with Visual Basic 9 (Beth Massi)

Beth Massi
Beth Massi

In the July/August issue of CoDe Magazine there's an article I wrote with Avner Aharoni (the Program Manager on XML literals) called Sharpening Your Axis with Visual Basic 9. (They just opened up online access to even non-subscribers today!) I highly recommend this article which shows you from the beginning how XML literals, embedded expressio...

May 8, 2008
0
0

VB XML Cookbook, Recipe 5: The “Halloween” Problem (Doug Rothaus)

VBTeam
VBTeam

In the last two XML cookbook entries, we talked about the technique of using the ReplaceWith method to perform an identity transform. While this technique may meet your needs, it can introduce a problem in your code commonly referred to as the “Halloween” problem. Let’s take a look at what the problem is, and how to solve it. (For details on the “...

May 1, 2008
0
0

VB XML Cookbook, Recipe 4: Get Inner XML from the Nodes Property (Doug Rothaus)

VBTeam
VBTeam

Recipe 3 showed one way to work with mixed XML content using the XML Descendant axis property and the ReplaceWith method. This is one way to do an identity transform and we’ll look at another method in a later post. There is a key capability not mentioned in Recipe 3 that you will need for fully-functioning identity transforms. That is the co...

Apr 25, 2008
0
0

VB XML Cookbook, Recipe 3: Identity Transforms (Doug Rothaus)

VBTeam
VBTeam

An identity transform in XSLT does just what the name implies: replace the identity of an element or attribute with a new identity. Identity transforms are especially critical when dealing with XML markup that is less rigid in its structure. Consider a documentation structure for news articles. Whenever a title is referred to within an article, it ...

Mar 19, 2008
0
0

VB XML Cookbook, Recipe 2: Descendants and Ancestors (Doug Rothaus)

VBTeam
VBTeam

This entry in the cookbook shows how you can access descendant and ancestor elements in an XML document using Visual Basic, XML Axis properties, and LINQ to XML objects.DescendantsVisual Basic provides XML Axis properties that enable you to easily refer to child nodes and attributes. As is often the case with XML, you may need to reference sub-elem...

Feb 21, 2008
0
0

VB XML Cookbook, Recipe 1: XML Transformations using XML Literals (Doug Rothaus)

VBTeam
VBTeam

I was working on a blog entry about replacing XSLT transforms with Visual Basic XML Literals. As the entry progressed, I noticed that it was really, really long. So, Avner Aharoni and I talked things over and we decided to break it up into multiple entries and start a series, much like the LINQ Cookbook that was started a few months back. Introduci...

Jan 17, 2008
0
0

Channel 9 Interview: XML Properties and Enabling IntelliSense (Beth Massi)

Beth Massi
Beth Massi

Today I posted a Channel 9 interview with Avner Aharoni, a Program Manager on the Visual Basic Team. In this interview Avner shows us how to enable XML IntelliSense in Visual Basic using the XML to Schema Wizard. He also shows the differences between how IntelliSense works with axis properties on XDocument and XElement objects a...

Dec 14, 2007
0
0

Channel 9 Interview: XML Literals Performance and Namespaces Explained (Beth Massi)

Beth Massi
Beth Massi

I just posted a Channel 9 interview with Avner Aharoni, a Program Manager on the Visual Basic Team, as he dives into LINQ to XML and XML Literals in Visual Basic 9 and explains namespace bubbling and the performance gains you may see using XML Literals. This is a good interview to pay attention to if you are struggling with how XM...

Nov 26, 2007
0
0

Drawing Maps with Visual Basic (Scott Wisniewski)

VBTeam
VBTeam

If you find yourself looking for something to do with your awesome new copy of Visual Studio 2008, you should check out the December 2007 edition of MSDN magazine. It features an article, written by me, that provides a walk through on how to visualize data on a map using VB 9, WPF and LINQ. To give you a sneak preview of what the app described in ...