Xml Literals
The System.Xml.Linq
namespace is powerful. By the way, manipulating complex Xml documents that store lots of data can lead to writing less elegant and more complex code. Luckily the Visual Basic language provides a powerful feature for manipulating Xml documents, known as Xml literals. In other words, you can write Xml markup together with the Visual Basic code. The following code provides an example:
This means that you can write entire Xml documents integrating Xml markup and Visual Basic code. Here IntelliSense features are less powerful than in the classic Visual Studio Xml editor, but they are good enough to provide syntax ...
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.