A standard function to create multiple output documents
A standard function to convert strings to node sets