The topics in this section document the syntax of XML literals in Visual Basic. The XML literal syntax enables you to incorporate XML directly in your code.
Topic
Description
XML Element Literal
Describes the syntax for literals that represent XElement objects.
XML Document Literal
Describes the syntax for literals that represent XDocument objects.
XML CDATA Literal
Describes the syntax for literals that represent XCData objects.
XML Comment Literal
Describes the syntax for literals that represent XComment objects.
XML Processing Instruction Literal
Describes the syntax for literals that represent XProcessingInstruction objects.