Create doc from checkbox in view/column

I have created a search page in XPages. The search view which I am looking at and presenting retrieved documents from another database.Have done checkbox in front of each document and want to create a document with information from the search in the database that I find myself in.

Have done so I can delete the document through a button from the search view, but I do not know how to create articel.xsp with the information that I sought out from the other database.

Kind regards

Fredrik