added support for xPath expressions and HTML string conversion for the content