Hello All
I want to read this xml file using Id on <page>
tag.
<?xml version="1.0" encoding="utf-8" ?>
<pages>
<page id="NewsWatchVideo">
<HeaderText>Newswatch</HeaderText>
<BellowText>'abc'.In this video you will see how the press responded to the .</BellowText>
<FilePath>FLVPlayer_Progressive.swf</FilePath>
<NextURL>/Home/OutStory</NextURL>
</page>
<page id="OutStory">
<HeaderText>OUR STORY</HeaderText>
<BellowText>Join the founders of United First Financial as they talk about how the business and concept was formed.</BellowText>
<FilePath>FLVPlayer_Progressive.swf</FilePath>
<NextURL>/Home/MMaoverViewVideo</NextURL>
</page>
</pages>
How can i get all the data by id? I want to use LINQ to XML to do this task.