C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » XML »

How would i create a dynamic xml file in asp.net in the following format??


Posted Date: 19 Sep 2009      Posted By: Somya      Member Level: Bronze     Points: 1   Responses: 1



<?xml version="1.0" encoding="utf-8"?>
<markers>
<marker lat="23.441" lng="77.1419" label="Point A" html="Test1"/>
<marker lat="23.322" lng="77.2133" label="Point B" html="Test2"/>
<marker lat="23.466" lng="77.4193" label="Point C" html="Test3"/>
<marker lat="23.505" lng="77.1520" label="Point D" html="Test4"/>


</markers>





Responses

Author: Krishna Chaitanya    20 Sep 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

If you are using .net 3.5 then try using LINQ. Its easy, nice and a cool feature.

http://www.linqhelp.com/linq-tutorials/adding-to-xml-file-using-linq-and-c/

http://www.fryan0911.com/2009/05/how-to-create-xml-document-using-linq.html

the second link would me more relevant in your case..



Post Reply
You must Sign In to post a response.
Next : Export sqlserver2005 to xml
Previous : Inserting data
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use