Implementing lxml integration into the Query BaseXClient class