Hi,
I'm trying to use gretl to grab some information from a web page,
applying xmlget() to the HTML source of the page. Like this:
<hansl>
# artificial example first
string web = sprintf("<html>\n<body>\n<a
href=\"whatever\">whatever</a>\n<a
href=\"uhah\">uhah</a></body>\n</html>")
print web
eval xmlget(web, "//a") # works
# now the real thing
web =
readfile("https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/monthly/kl/historical/")
print web # very long string! (HTML source)
eval xmlget(web, "//a") # error: xmlParseMemory returned NULL
</hansl>
Does the error mean that the page's code is simply too much / too long?
thanks
sven