The XML declaration

The beginning of an XML message can contain an XML declaration.

The following is an example of a declaration:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE s1 PUBLIC "http://www.ibm.com/example.dtd" "example.dtd">
<s1>.........</s1>

The XML declaration includes the following field type constants:

XML declaration example includes another example of an XML declaration and the tree structure it forms.