I need transform the following XML to CSV. Can some one suggest how do i write an XSLT to transform.
XML is
<Transaction TransactionID="60" EventDate="2009-08-17">
<VehicleBuilt InstallationType="factory">
<Vehicle>
<Receiver RSN="489823">
<Module>
<AddressableElement ESN="99409230923">
<Capability Type="Audio">
<Subscription>
<SalesCode>DCC12MO</SalesCode>
<Type>Audio</Type>
</Subscription>
</Capability>
</AddressableElement>
<AddressableElement ESN="12192019">
<Capability Type="Traffic">
</Capability>
</AddressableElement>
<AddressableElement ESN="1209010290192">
<Capability Type="Video">
</Capability>
</AddressableElement>
</Module>
</Receiver>
<VIN>1209091029012</VIN>
<Make>DODGE</Make>
<Model>98</Model>
<Year>2009</Year>
<ProductionDate>2009-07-02</ProductionDate>
<IntendedCountry>US</IntendedCountry>
<BodyStyleDescription>Ram1500 Crew Cab 4x2</BodyStyleDescription>
</Vehicle>
</VehicleBuilt>
</Transaction>