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