Chapter 9, the last chapter in this section, focuses on LINQ to XML in Visual Basic .NET.
177
LINQ to XML and Visual
Basic .NET
Visual Basic .NET wasn??™t left behind when it comes to working with LINQ to XML. Visual
Basic provides profound support for LINQ to XML through XML literals and XML
Axis properties.
This chapter focuses on the LINQ to XML differences that apply to Visual Basic .NET. You??™ll explore
the following topics in this chapter:
??‘ How to create XML
??‘ How to access XML
??‘ How to load XML
??‘ How to manipulate XML
Creating XML
You have to agree that LINQ to XML is powerful and flexible. One of the things you have seen is
the capability to call LINQ APIs directly, but what you are about to see makes LINQ to XML even
better. In Visual Basic, you can declare XML literals and write XML directly in your code. And you
also can access XML Axis properties from within your code.
However, it is important to understand what XML literals are so that you can have a better
appreciation, as well as for creating XML.
Pages:
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305