>Thanks for the reply Cetin
>
>I tried this code
>
>Dim FileName As String = Server.MapPath("XMLBrochure.xml")
>
>Dim rdr As TextReader = New StreamReader(FileName)
>Dim content As String = rdr.ReadToEnd
>rdr.Close()
>Console.WriteLine(content)
>Response.Write(content)
>Label1.text = content
>
>and i am still just getting the values within the xml tags and not the actual tags and the data together.
>
>Any ideas where i am going wrong?
>
>Thanks
>
>Bilal.
You have Response.Write there and Server.Mappath. In a browser it'd render. Use HtmlEncode to prevent rendering.
Cetin