XML Representation

A resource is represented as an XML element which contains the values of the resource (if any) with child elements to represent the sub-resources. An XML representation of a resource is used in both the request payload and in the response. The "xmlns" XML attribute is mentioned in the representation. This attribute has the name of the YANG module of the resource specified in the representation.

The UTF-8 character set is used for the XML message encoding.

XML Message Encoding

Special Character Encoded Character Description of the Special Character
< &lt; less-than symbol
> &gt; greater-than symbol
& &amp; ampersand
' &apos; apostrophe
" &quot; quotation mark