Share via


Output from XmlLiteWriteWithEncoding

This topic shows the output from the Writing an Encoded XML Document Using XmlLite example.

Output from XmlLiteWriteWithEncoding

<?xml version="1.0" encoding="utf-16"?>
<root>
  <sub myAttr="1234">This is a string</sub>
</root>

Remarks

The output from this example is an XML document that is encoded with UTF-16 (Unicode). You can use the generated file as the input to the Reading an Encoded XML Document Using XmlLite example.

See Also

Concepts

Writing an Encoded XML Document Using XmlLite