XML Articles

XML forking in .NET

Introduction This article will show how to fork XML processing when using XmlReaders and XmlWriters in .NET Framework 1.1. Background Recently, in an application, I had the need to log all XML messages exchanged with service providers. Being services implemented over the POX/REST(Plain Old XML/REpresentational State Transfer) protocol, I had thedisadvantage of not being able […]

Read more

XML sub-tree processing

Introduction This article will show you how to process XML sub-trees when using XmlReaders and XmlWriters in the .NET Framework 1.1. Background Recently, in an application, I had the need to log all XML messages exchanged with service providers. Being services implemented over the POX/REST(Plain Old XML/REpresentational State Transfer) protocol, I had thedisadvantage of not […]

Read more

Using C# to transform an xml file using XslTransform.

After being assigned a project at work and becoming extreamly frustrated with the examples I found, I decided to create this tutorial using C# to transform a xml file into a another xml file using XslTransform. The code below use XSLT to transform an in-house data xml file into a xml file using a clients […]

Read more

Bulk data transactions using OpenXML

OPENXML is a new function added to SQL Server2000 that provides a rowset view over an XML document. Since a rowsetis simply a set of rows that contain columns of data, OPENXML is thefunction that allows an XML document to be treated in the familiarrelational database format. It allows for the passing of an XMLdocument […]

Read more

Xml TreeView

The application shown here was my firstadventure into Xml in the .Net platform. My goal was to be able toreflect any Xml file into the Windows Forms TreeView control. I foundvarious examples online, but none I found were suited for opening allXml files, rather they were suited to one schema or another. The problem I […]

Read more

Mapping XML to SQL Statments

By¬†Damjan Kovac In this article I’m trying to explain one of the method how to build appropriate SQL statement from XML string (document) which represents records in specific DBMS datatable. XSD schemas are not used – reading metadata from DBMS table is used instead. The basic algorithm is: 1. Generate appropriate XML string representing datarows […]

Read more

Binding Raw Xml to a DataGrid Control in ASP.Net

Source Code Xml has become a very ubiquitous and is an integral part of .Net and the System.Data namespace.  The problem lies in that not many people know how to take advantage of some of the features.  When we are using a database, we naturally use the Systen.Data namespace, but with Xml documents as data […]

Read more

Mathematically : XML -> Databases

"This time, I would take a quick but a thoughtprovoking aspects of what happens with XML knits with a database inMicrosoft World." Extensible Stylesheet Language Shape ups (XSLT)When companies exchange data, their schemas will more than likely beinconsistent. One company might use CustomerID as an element name whileanother might simply use ID. Extensible Stylesheet Language […]

Read more

XML Parser in C#

This project gives you a head start to writeXML parser in C#. The important namespace to achieve our goal would beSystem.Xml. Though you might find it strange, unlike otherlanguages/class libraries their are no direct functions likestartElement and endElement at your rescue. You will have to manage allthis on your own. So lets start looking at […]

Read more

XML String Building

How to build XML string with only changed rows/columns edit on user form? Formerly I've been working on three-tier applications on J2EE platform. All aplication logic was written in EJB and all the data was send as XML string from PowerBuilder clients. I was thinking how to implement such kind of solution in .NET through […]

Read more
  • Page 1 of 2
  • 1
  • 2
  • >