XML declaration example

The following example shows an XML declaration in an XML document.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

The following figure shows the tree structure that is created from the declaration:


Example XMLDecl tree structure

Related concepts
Message flows
XML wire format

Related tasks
Manipulating messages in the XML domain
Adding an XML wire format

Related reference
The XML declaration