Create XML using XmlTextWriter in c#?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all ,
i want to create XML like below using XmlTextWriter and also want to read using XmlTextReader<span style="color:#222222; font-family:arial,sans-serif; font-size:small; line-height:16px in my C# application.
<?xml version="1.0" encoding="utf-8"?><br/>
<VehicleDetail><br/>
<CAR><br/>
<Company>Ford</Company><br/>
<Model>Figo</Model><br/>
<CarNumber>RJ27-CB-8551</CarNumber><br/>
<Colour>White</Colour><br/>
</CAR><br/>
<BIKE><br/>
<Company>Bajaj</Company><br/>
<Model>Pulsur</Model><br/>
<BikeNumber>RJ27-SE-1551</BikeNumber><br/>
<Colour>Black</Colour><br/>
<CC>180</CC><br/>
</BIKE><br/>
</VehicleDetail>
<span style="color:#222222; font-family:arial,sans-serif; font-size:small; line-height:16px plsease help me to create and read this. :)
<span style="color:#222222; font-family:arial,sans-serif; font-size:small; line-height:16px thanks in advance :)
<hr class="sig sumitk

View the full article
 
Back
Top