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
AddThis

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

  • Nov 18

    15 Minutes of Fame

    Dresher, United States

    This is a yearly tradition. We select 10 of the favorite speakers from monthly meetings, code camps, and hands on labs. Each one does a 15 minute talk on their favorite .NET technology. This is our 10th anniversary so we plan a gala event with special prizes and refreshments.

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