If you’re working with XPath in the DOMXML extensions to PHP, there’s an undocumented function you’ll probably need: xpath_register_ns (xpath context, namespace prefix, namespace uri).
Without it, you’ll have to write ugly XPath expressions for documents with a default namespace (such as those returned by FileMakerPro.)
Thanks to Brandon Whitehead for pointing it out in the annotated documentation.