Forum General

Portable -> Load XML from URL

reconrecon USMember ✭✭

Is there sample code to Load XML from a URL? I want to use Linq to find specific values once I load it. I am unable to use XmlDocument. I tried below

        XDocument load = XDocument.Parse(URL);

but it does not work.

Tagged:

Posts

  • kentuckerkentucker USMember ✭✭✭✭✭

    Think you need to load the xml with the HttpClient or something similar into a string and then parse it

Sign In or Register to comment.