2025-11-28 00:35:46 +09:00
..
new
2025-11-28 00:35:46 +09:00
new
2025-11-28 00:35:46 +09:00

XML DOM object dynamic creation sample

This sample demonstrates how to dynamically create an XML document in an application. Specifically, it demonstrates how to add processing instructions, comments, elements, and text nodes. it also shows how to use extra white space text nodes to provide a structured format when the DOM object is serialized.

Operating system requirements

Client

Windows 8.1

Server

Windows Server 2012 R2

Build the sample

To build this sample, open the CPP project solution (.sln) file within Visual Studio 2013 for Windows 8.1 (any SKU) or later versions of Visual Studio and Windows. Press F7 (or F6 for Visual Studio 2013) or go to Build->Build Solution from the top menu after the sample has loaded. The sample will be built in the default \Debug or Release directory.

Run the sample

To run this sample after building it, press F5 (run with debugging enabled) or Ctrl-F5 (run without debugging enabled) from Visual Studio. (Or select the corresponding options from the Debug menu.) When the app is running, switch to the Start screen and back to the desktop.