I have a website which is not working because of the following line of code Dim xmlDS = XDocument.Load(Server.MapPath("~/dating_database.xml"))

The compiler basically says I need to declare XDocument but I have no idea how to do that. I have looked on the vb.net web page for any help but nothing works. Can anyone tell me how to declare XDocument in the following code so that I can overcome this error

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click

        Dim xmlDS = XDocument.Load(Server.MapPath("~/dating_database.xml"))
        Dim clients = From client In xmlDS...<client> _
                      Where client.<body_type>.Value Like "*" & lstBodyType.SelectedValue And _
                      client.<sex>.Value Like "*" & lstSex.SelectedValue _
                      Select client

        Dim buffer As String = "<table>"
        buffer &= "<tr>"
        buffer &= String.Format("<th>{0}</th>", "Name")
        buffer &= String.Format("<th>{0}</th>", "Sex")