I want to use google sheet's IMPORTXML to extract the gene name (SLC3A1) and ensembl ID (ENSG00000138079) from this URL: http://asia.ensembl.org/Multi/Search/Results?q=SLC3A1;site=ensembl
I tried copying xpath from Chrome and also tried deriving it on my own step by step, but I am only getting a #NA.
My xpath: /html/body/div[1]/div/div[2]/div[1]/div[1]/div[2]/div[2]/div[4]/div/div/div[2]/div/div/div[3]/div[2]/div[1]/div[2]/div/div/div/div[1]/div/div[2]/span
From Chrome: //*[@id="solr_content"]/div/div/div[2]/div/div/div[3]/div[2]/div[1]/div[2]/div/div/div/div[1]/div/a
The idea is to extract gene name and ID to google sheets for any gene name I supply.