S&P Global interview question

HTML XML XPath SQL query