How do I Parse XML from AJAX URL Data

Get help using Construct 2

Post » Tue May 13, 2014 11:47 pm

I've been trying to parse an html page and am having no luck.

If I use AJAX to "Request URL" I get the page's html. And if I use the developer console in Chrome I can go to the element and copy the xpath.

But when I tell the XML object to load the data from the AJAX Object, it doesn't seem to load anything.

And when I use the xpath from chrome I get nothing.

Here is the xpath: //*[@id="toc_rows"]/div[2]/p[100]

Where it says p[100], I'm trying to parse it for all objects 1-100.

Any ideas how?
Follow me on Twitter @evgLabs
Posts: 251
Reputation: 4,074

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests