How to execute a XQuery in PHP? Can you give me an example?
Thank you.
Use BaseX. Its stable, scaleable, and fast! (but you need a server to run)
BaseX clients
include("BaseXClient.php"); $session = new Session("localhost", 1984, "admin", "admin"); print $session->execute("xquery 1 to 10"); $session->close();