Providing document context to conditional logic

I wish to provide parameters to my xproc document in the form of an XML document (presumably this would be passed in via an input port). I then want to make p:choose choices based on the content of that input document.
How do I set the context for any xpaths used to be something other than the default source document?
thanks in advance!
 		 	   		  

Received on Thursday, 28 June 2012 09:51:36 UTC