Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 2.58 KB

File metadata and controls

37 lines (34 loc) · 2.58 KB
title Creating XML in Visual Basic
ms.custom
ms.date 07/20/2015
ms.prod .net
ms.reviewer
ms.suite
ms.technology
devlang-visual-basic
ms.tgt_pltfrm
ms.topic article
helpviewer_keywords
XML [Visual Basic], creating
LINQ to XML [Visual Basic], creating XML
XML literals [Visual Basic], creating
ms.assetid 8ae29ec5-e5fb-4137-9df5-60a288df7045
caps.latest.revision 24
author dotnet-bot
ms.author dotnetcontent

Creating XML in Visual Basic

[!INCLUDEvbprvb] enables you to use XML literals directly in your code. The XML literal syntax represents [!INCLUDEsqltecxlinq] objects, and it is similar to the XML 1.0 syntax. This makes it easier to create XML elements, documents, and fragments programmatically because your code has the same structure as the final XML.

In This Section

Term Definition
XML Literals Overview Introduction to XML literals and how they relate to [!INCLUDEsqltecxlinq].
Embedded Expressions in XML Describes how to use embedded expressions in XML literals.
How to: Create XML Literals Describes how to create an XML element in code by using an XML literal.
White Space in XML Literals Describes how [!INCLUDEvbprvb] treats white space in XML literals.
XML Literals and the XML 1.0 Specification Describes how the XML literal syntax in [!INCLUDEvbprvb] relates to the XML 1.0 specification.
How to: Embed Expressions in XML Literals Describes how to use embedded expressions in XML literals to create content at run time.
Names of Declared XML Elements and Attributes Describes guidelines for naming XML elements and attributes.

See Also

XML