XML transformations in .NET - Part I

Introduction

The purpose of this article is to demonstrate how XML data can be transformed using the .NET XSLT Transformer object. XML transformation is the process of converting raw xml data into a presentation format such as HTML. Let’s have a look at a sample xml.

computers.xml

<?xml version="1.0"?>
<computers>
    <computer type=”dell”>
    <processor>Pentium 4</processor>
    <ram units=”MB”>512</ram>
    <motherboard>Mach Speed</motherboard>
    <price currencySymbol=”$”>400.00</price>
  </computer>
</computers>

This is referred to as an xml document. It’s a raw structure meant for data storage or transmission over a network.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debuggers don't remove bugs. They only show them in slow motion.”