|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
XML Processing Instruction Literal
A literal representing an XProcessingInstruction object.
XML processing instruction literals indicate how applications should process an XML document. When an application loads an XML document, the application can check the XML processing instructions to determine how to process the document. The application interprets the meaning of piName and piData.
The XML document literal uses syntax that is similar to that of the XML processing instruction. For more information, see XML Document Literal.
The piName element cannot begin with the strings "xml" or "XML", because the XML 1.0 specification reserves those identifiers.
You can assign an XML processing instruction literal to a variable or include it in an XML document literal.
An XML literal can span multiple lines without needing line continuation characters. This enables you to copy content from an XML document and paste it directly into a Visual Basic program.
The Visual Basic compiler converts the XML processing instruction literal to a call to the XProcessingInstruction constructor.