Hi Aleksey! I saw that you asked for here() function on libxml mailing list? Did you implemented it, or it is already there in some version of libxml? What about not(xpath_statement), can I select all nodes that are not in the xpath? I only get a boolean result. Regards, Gregor