I am trying to import some data table from http://www.klse.my/stock/entitlement/dividend/7087.jsp#stockDetailDiv and link from http://www.bursamalaysia.com/market/listed-companies/company-announcements/#/?category=EA&company=7087 website to my Google spreadsheet, but Google sheet keep gives me Import Internal Error.
=IMPORTXML("http://www.klse.my/stock/entitlement/dividend/7087.jsp#stockDetailDiv","//*[@id='entitlementTable']/tr[2]/td")
=IMPORTXML("http://www.bursamalaysia.com/market/listed-companies/company-announcements/#/?category=EA&company=7087","//*[@id='bm_ajax_container']/div/table/tr/td[4]/a/@href")
I really do not know what causes this problem, but I used to overcome it playing with the xpath query and delete /tbody. This time I couldn't find a xpath query which works.
Does any programming expert know the reason of this error, or how can I make it work? Thanks and Appreciate for help