35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
//
|
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
//
|
|
Overview
|
|
--------
|
|
This sample shows how to implement an XmlLite application that writes an XML document with encoding.
|
|
|
|
XmlLite Documentation
|
|
---------------------
|
|
You can find the documentation for XmlLite in XMLLite.hxs in the Help directory of the SDK.
|
|
|
|
Requirements
|
|
------------
|
|
This sample requires the Microsoft Windows Software Development Kit (SDK) for Windows Vista and
|
|
.NET Framework 3.0. XmlLite samples require the XmlLite.h and XmlLite.lib files to build. XmlLite
|
|
samples require XmlLite.dll to run.
|
|
|
|
How to Build this Sample
|
|
------------------------
|
|
Build the sample using the latest Windows SDK. You can use Visual Studio to build the sample. If you do not
|
|
have Visual Studio installed, you can use the VCBuild utility to build the sample. In the sample directory,
|
|
enter the command VCBuild with no command line arguments.
|
|
|
|
How to Run this Sample
|
|
----------------------
|
|
Once you have built the sample, you can run it from the command line as follows:
|
|
|
|
release\XmlLiteWriteWithEncoding out.xml
|