Perhaps saxon:evaluate-node() will meet your requirements better? This takes the namespace bindings from the document in which the XPath expression is found.
If not, I'm afraid the answer is no - there is currently no way to set the namespace bindings.
Michael Kay

From: [] On Behalf Of
Sent: 25 June 2008 16:09
Subject: [saxon] Saxon:evaluate

  I am trying to use saxon:evaluate with an xpath that contains namespace prefixes that are not known to the base stylesheet.  Is there any way of adding the namespaces found in a document to the stylesheets context?