Browse by Tags
All Tags »
LINQ »
VB »
Xml (
RSS)
In this prior post , I demonstrated how to find a node in an XML string. In this post, I expand on that topic to find a set of nodes. You can then process those nodes as needed in your application. In this example, the set of nodes are displayed in a...
A common requirement with an XML file is to find a particular node. If you are targeting the .NET framework 3.5 or higher, you can find the node using Linq to XML or by using Lambda expressions. As with many of my prior XML examples, the XML string is...
If you are using XML in a WinForms application you may find the need to display the XML data in a DataGridView. Let's take this XML: <states> <state name="California"> ...
I have an XML string as follows: <States> <State name="Wisconsin"> <Regions> <Region name="Milwaukee"> <Area...
One of my favorite features in VB 9 (Visual Studio 2008) is XML Literals. This example demonstrates how insanely easy it is to build an XML file using VB. This code builds XML from a list of customers. Dim customerXml As XElement = _ <customers>...