Library tutorials & articles

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.

Comments

  1. 19 Sep 2006 at 19:55

    well how to get the reverse of it , i mean what if we have a web page that gets updated & then the RSS(XML) of it has to be out , how can asp.net perform such function...

  2. 01 Jan 1999 at 00:00

    This thread is for discussions of XML transformations in .NET - Part I.

Leave a comment

Sign in or Join us (it's free).

 JLogic

Related podcasts

  • Episode 10: LINQ

    K Scott leads us in a discussion of LINQ, including: What is it How introducing LINQ to .NET changed the framework LINQ Providers LINQ to XML LINQ to SQL - how it's different from EF, tips and tricks, when to use it Links: LINQpad 3rd Party LIN...

Events coming up

  • Mar 15

    DevWeek 2010

    London, United Kingdom

    DevWeek is Europe’s leading independent conference for software developers, database professionals and IT architects, and features expert speakers on a wide range of topics, including .NET 4.0, Silverlight 3, WCF 4, Visual Studio 2010, REST, Windows Workflow 4, Thread Synchronization, ASP.NET 4.0, SQL Server 2008 R2, LINQ, Unit Testing, CLR & C# 4.0, .NET Patterns, WPF 4, F#, Windows Azure, ADO.NET, Entity Framework, Debugging, T-SQL Tips & Tricks, and more.

Want to stay in touch with what's going on? Follow us on twitter!