XDocument booksXML = XDocument.Load(Server.MapPath(“books.xml”));
XNamespace ns = “http://example.books.com”;
var authors = from book in booksXML.Descendants(ns + “author”)
select new Author
{
FirstName = book.Element(ns + “first-name”).Value,
LastName = book.Element(ns + “last-name”).Value
};
If(Author != null)
{
Repeater1.DataSource = Author;
Repeater1.DataBind();
}
Do it like this it will work