Here\'s an example of an XML file created in InfoPath:
Those are called processing instructions. You can use the XmlProcessingInstruction
class to interact with them in an XmlDocument
.
As with most elements defined within an XmlDocument
, you cannot instantiate it directly; you must use the appropriate factory method on XmlDocument
(CreateProcessingInstruction
in that particular case.)