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

  • Dec 9

    GL.net Group Meeting - December 2009

    Gloucester, United Kingdom

    The beginning of this year holiday season will belong to mocks. Ronnie and Stephen will take us for a tour around exciting world of unit testing.

We'd love to hear what you think! Submit ideas or give us feedback