All-In-One XML Code Samples

 

Introduction

The All-In-One XML code samples demonstrate the typical programming topics about XML. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are using XML.

 

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
CSLinqToXml This example illustrates how to use Linq to XML in C# to create XML document from in-memory objects and SQL Server database Download ReadMe.txt
CSXmlDigitalSignature This sample demonstrates how to use .NET built-in classes to implement Digital Signature for Xml documents. Download ReadMe.txt
CSXmlEncryption This sample demonstrates how to use .NET built-in classes to encrypt and decrypt Xml document. Download ReadMe.txt
CSXmlGeneral This VC# code sample project shows how to read a XML file by using XmlTextReader or XmlNodeReader Download ReadMe.txt
CSXmlSerialization This sample shows how to serialize an in-memory object to a local xml file and how to deserialize the xml file back to an in-memory object using VC# Download ReadMe.txt
CSXPath This sample project shows how to use XPathDocument class to read and manipulate XML files Download ReadMe.txt
CSXslTransformXml This sample project shows how to use XslCompiledTransform to transform an XML data file to .csv file using an XSLT style sheet. Download ReadMe.txt
VBLinqToXml This example illustrates how to use Linq to XML in VB.NET to create XML document from in-memory objects and SQL Server database Download ReadMe.txt
VBXmlGeneral This VB code sample project shows how to read a XML file by using XmlTextReader or XmlNodeReader Download ReadMe.txt
VBXmlSerialization This sample shows how to serialize an in-memory object to a local xml file and how to deserialize the xml file back to an in-memory object using VB Download ReadMe.txt
VBXPath This sample project shows how to use XPathDocument class to read and manipulate XML files Download ReadMe.txt
VBXslTransformXml This sample project shows how to use XslCompiledTransform to transform an XML data file to .csv file using an XSLT style sheet. Download ReadMe.txt

 

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Windows Service code samples (Guidance)