DOM is native HTML parsing library for PHP. Supports XPath syntax.