.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Extracting XML

Posted By: Savi3     Posted Date: July 21, 2010    Points:2   Category :.NET Framework
Hi to all
This is my XML
<slovicka>
<lekce id="1">
<verb cz="Ahoj" en="Hello" />
<verb cz="Pes" en="Dog" />
</lekce>
<lekce id="2">
<verb cz="Pivo" en="Beer" />
</lekce>
</slovicka>

I need to fetch the values of this XML in an array format
Array Format as Follws

id en
1 Hello
1 Dog
2 Beer

Please any one of u help me.



Responses
Author: BangaruBabuPureti             
Posted Date: July 22, 2010     Points: 5   

Just Write Code as Follows

ds.ReadXml(!Server.MapPath(~/xmlFileName.xml));


Then U Will Get All The Values in Ur Dataset

Then Convert That Dataset Into What Ever The desired Result You Want



BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend