Thanks for the help, guys. Inserting into a sandbox database sounds interesting, I may try that. Otherwise, it's not too painful to just create the xquery file in the application and re-run. During quick iterations even small time savings add up, so it was worth asking the question. Thanks, again.