Compartilhar via


Criando XML em Visual Basic

Visual Basic enables you to use XML literals directly in your code. The XML literal syntax represents LINQ to XML 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.

Nesta seção

Term

Definition

Visão geral dos literais XML (Visual Basic)

Introduction to XML literals and how they relate to LINQ to XML.

Expressões inseridas no XML (Visual Basic)

Describes how to use embedded expressions in XML literals.

Como: Criar literais XML (Visual Basic)

Describes how to create an XML element in code by using an XML literal.

Espaço em branco em literais XML (Visual Basic)

Descreve como Visual Basic trata o espaço em branco em literais XML .

Especificação dos literais XML e do XML 1.0 (Visual Basic)

Descreve como a sintaxe do literal XML no Visual Basic se relaciona com o XML 1.0 especificação.

Como: Inserir expressões nos literais XML (Visual Basic)

Describes how to use embedded expressions in XML literals to create content at run time.

Nomes de elementos e atributos XML declarados (Visual Basic)

Describes guidelines for naming XML elements and attributes.

Consulte também

Outros recursos

XML no Visual Basic